Color #af97ff
A vivid, highly saturated light blue.
Conversions
#af97ff
rgb(175, 151, 255)
hsl(253.8, 100%, 79.6%)
hsv(253.8, 40.8%, 100%)
cmyk(31.4%, 40.8%, 0%, 0%)
lab(68.36, 31.17, -48.66)
lch(68.36, 57.79, 302.64)
oklch(74%, 0.1482, 293.04)
hwb(253.8, 59.2%, 0%)
Harmony colors
Accessibility
Black text reads better on this background (8.69:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#a5a5eb · ΔE 6.4
Deuteranopia
#a7a8e6 · ΔE 7.7
Tritanopia
#aedad6 · ΔE 30.2
Achromatopsia
#a7a7a7 · ΔE 25.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #af97ff;
bg-[#af97ff]
Related colors
Frequently asked questions
#af97ff (#af97ff) is rgb(175, 151, 255) in RGB.
No, #af97ff is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #af97ff, or check how it holds up for accessibility.