Color #cc7eef
A vivid, highly saturated light purple.
Conversions
#cc7eef
rgb(204, 126, 239)
hsl(281.4, 77.9%, 71.6%)
hsv(281.4, 47.3%, 93.7%)
cmyk(14.6%, 47.3%, 0%, 6.3%)
lab(64.96, 49.06, -45.06)
lch(64.96, 66.61, 317.43)
oklch(71.8%, 0.1757, 314.56)
hwb(281.4, 49.4%, 6.3%)
Harmony colors
Accessibility
Black text reads better on this background (7.8:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#b0afdb · ΔE 17.4
Deuteranopia
#b4b9d5 · ΔE 20.5
Tritanopia
#c9c8c4 · ΔE 32.3
Achromatopsia
#9e9e9e · ΔE 26.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #cc7eef;
bg-[#cc7eef]
Related colors
Frequently asked questions
#cc7eef (#cc7eef) is rgb(204, 126, 239) in RGB.
No, #cc7eef 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 #cc7eef, or check how it holds up for accessibility.