Color #cc9fe6
A moderately saturated light purple.
Conversions
#cc9fe6
rgb(204, 159, 230)
hsl(278, 58.7%, 76.3%)
hsv(278, 30.9%, 90.2%)
cmyk(11.3%, 30.9%, 0%, 9.8%)
lab(71.79, 29.43, -29.48)
lch(71.79, 41.66, 314.95)
oklch(76.8%, 0.1099, 312.75)
hwb(278, 62.4%, 9.8%)
Harmony colors
Accessibility
Black text reads better on this background (9.67:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#babad8 · ΔE 13.3
Deuteranopia
#bdc0d4 · ΔE 16.3
Tritanopia
#cacbc8 · ΔE 26.9
Achromatopsia
#b0b0b0 · ΔE 23
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #cc9fe6;
bg-[#cc9fe6]
Related colors
Frequently asked questions
#cc9fe6 (#cc9fe6) is rgb(204, 159, 230) in RGB.
No, #cc9fe6 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 #cc9fe6, or check how it holds up for accessibility.