#CF56E8#CF56E8
#CF56E8 is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.5% C 0.230 H 320.4°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #CF56E8 |
|---|---|
| RGB | rgb(207, 86, 232) |
| HSL | hsl(290, 76%, 62%) |
| HSV | hsv(290, 63%, 91%) |
| CMYK | cmyk(10.8%, 62.9%, 0%, 9%) |
| CIE-LAB | lab(57.80, 67.59, -52.48) |
| CIE-LCH | lch(57.80, 85.57, 322.17°) |
| OKLab | oklab(66.53% 0.177 -0.1464) |
| OKLCH | oklch(66.53% 0.23 320.4) |
| XYZ | xyz(43.6237, 25.7493, 79.0006) |
| Luminance | 0.2575 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 2.07
Bright Lilac
#C95EFB
ΔE00 3.47
Pinkish Purple
#D648D7
ΔE00 3.63
Bright Lavender
#C760FF
ΔE00 4.27
Mediumorchid
#BA55D3
ΔE00 4.46
Pink Purple
#EF1DE7
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF56E8 #6FE856
analogous
#8656E8 #CF56E8 #E856B8
triadic
#CF56E8 #E8CF56 #56E8CF
tetradic
#CF56E8 #E88656 #6FE856 #56B8E8
square
#CF56E8 #E88656 #6FE856 #56B8E8
split-complementary
#CF56E8 #B8E856 #56E886
monochromatic
#9317AC #C020E1 #CF56E8 #DE8CEF #EEC2F7
Accessibility & contrast
On white
3.41
#CF56E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#CF56E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF56E8
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF56E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF56E8 | 1.00 | 3.41 | 6.15 | 6.15 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E82EC
Deuteranopia (green-blind)
#638FE4
Tritanopia (blue-blind)
#D06E98
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #cf56e8; /* rgb */ color: rgb(207, 86, 232); /* oklch */ color: oklch(66.5% 0.230 320.4);
Tailwind
colors: {
custom: {
50: '#e18df0',
500: '#cf56e8',
950: '#000000',
},
}SCSS
$custom: #cf56e8; $custom-light: #e18df0; $custom-dark: #000000;
JSON
{
"hex": "#cf56e8",
"rgb": {
"r": 207,
"g": 86,
"b": 232
},
"hsl": {
"h": 289.726,
"s": 76.042,
"l": 62.353
},
"oklch": {
"l": 0.66527,
"c": 0.2297,
"h": 320.4
},
"luminance": 0.25747
}Semantic roles & 50–950 ramp
primary
#CF56E8
secondary
#BBE8B2
accent
#D80D30
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85