#CF7EED#CF7EED
#CF7EED is a light, vivid purple. Relative luminance 0.343; OKLCH L 72.0% C 0.175 H 316.3°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7EED |
|---|---|
| RGB | rgb(207, 126, 237) |
| HSL | hsl(284, 76%, 71%) |
| HSV | hsv(284, 47%, 93%) |
| CMYK | cmyk(12.7%, 46.8%, 0%, 7.1%) |
| CIE-LAB | lab(65.20, 49.48, -43.55) |
| CIE-LCH | lch(65.20, 65.91, 318.64°) |
| OKLab | oklab(72.04% 0.1265 -0.1208) |
| OKLCH | oklch(72.04% 0.175 316.3) |
| XYZ | xyz(48.4768, 34.3030, 84.1719) |
| Luminance | 0.3430 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.34
Liliac
#C48EFD
ΔE00 5.37
Orchid
#DA70D6
ΔE00 5.57
Easter Purple
#C071FE
ΔE00 5.64
Violet (CSS)
#EE82EE
ΔE00 5.82
Purply Pink
#F075E6
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7EED #9CED7E
analogous
#977EED #CF7EED #ED7ED3
triadic
#CF7EED #EDCF7E #7EEDCF
tetradic
#CF7EED #ED977E #9CED7E #7ED3ED
square
#CF7EED #ED977E #9CED7E #7ED3ED
split-complementary
#CF7EED #D3ED7E #7EED97
monochromatic
#A21DD3 #BB48E6 #CF7EED #E3B4F4 #F5E4FB
Accessibility & contrast
On white
2.67
#CF7EED on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.86
#CF7EED on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7EED
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7EED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7EED | 1.00 | 2.67 | 7.86 | 7.86 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6999F1
Deuteranopia (green-blind)
#80A1EA
Tritanopia (blue-blind)
#CE8EAA
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cf7eed; /* rgb */ color: rgb(207, 126, 237); /* oklch */ color: oklch(72.0% 0.175 316.3);
Tailwind
colors: {
custom: {
50: '#e0a5f3',
500: '#cf7eed',
950: '#000000',
},
}SCSS
$custom: #cf7eed; $custom-light: #e0a5f3; $custom-dark: #000000;
JSON
{
"hex": "#cf7eed",
"rgb": {
"r": 207,
"g": 126,
"b": 237
},
"hsl": {
"h": 283.784,
"s": 75.51,
"l": 71.176
},
"oklch": {
"l": 0.72043,
"c": 0.17491,
"h": 316.3
},
"luminance": 0.34302
}Semantic roles & 50–950 ramp
primary
#CF7EED
secondary
#DDF2D5
accent
#D80E44
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85