#CF7DEB#CF7DEB
#CF7DEB is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.8% C 0.174 H 317.0°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7DEB |
|---|---|
| RGB | rgb(207, 125, 235) |
| HSL | hsl(285, 73%, 71%) |
| HSV | hsv(285, 47%, 92%) |
| CMYK | cmyk(11.9%, 46.8%, 0%, 7.8%) |
| CIE-LAB | lab(64.91, 49.59, -42.91) |
| CIE-LCH | lch(64.91, 65.58, 319.13°) |
| OKLab | oklab(71.79% 0.1276 -0.1189) |
| OKLCH | oklch(71.79% 0.174 317) |
| XYZ | xyz(48.0590, 33.9323, 82.5991) |
| Luminance | 0.3393 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.48
Orchid
#DA70D6
ΔE00 5.21
Liliac
#C48EFD
ΔE00 5.72
Violet (CSS)
#EE82EE
ΔE00 5.76
Easter Purple
#C071FE
ΔE00 5.76
Lavender Pink
#DD85D7
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7DEB #99EB7D
analogous
#987DEB #CF7DEB #EB7DD0
triadic
#CF7DEB #EBCF7D #7DEBCF
tetradic
#CF7DEB #EB987D #99EB7D #7DD0EB
square
#CF7DEB #EB987D #99EB7D #7DD0EB
split-complementary
#CF7DEB #D0EB7D #7DEB98
monochromatic
#A220CE #BB48E3 #CF7DEB #E3B2F3 #F5E4FB
Accessibility & contrast
On white
2.70
#CF7DEB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.79
#CF7DEB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7DEB
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7DEB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7DEB | 1.00 | 2.70 | 7.79 | 7.79 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6998EF
Deuteranopia (green-blind)
#80A0E8
Tritanopia (blue-blind)
#CE8DA9
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cf7deb; /* rgb */ color: rgb(207, 125, 235); /* oklch */ color: oklch(71.8% 0.174 317.0);
Tailwind
colors: {
custom: {
50: '#e0a5f2',
500: '#cf7deb',
950: '#000000',
},
}SCSS
$custom: #cf7deb; $custom-light: #e0a5f2; $custom-dark: #000000;
JSON
{
"hex": "#cf7deb",
"rgb": {
"r": 207,
"g": 125,
"b": 235
},
"hsl": {
"h": 284.727,
"s": 73.333,
"l": 70.588
},
"oklch": {
"l": 0.71794,
"c": 0.17442,
"h": 317
},
"luminance": 0.33931
}Semantic roles & 50–950 ramp
primary
#CF7DEB
secondary
#DBF1D3
accent
#D51042
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85