#CF7DEF#CF7DEF
#CF7DEF is a light, vivid purple. Relative luminance 0.342; OKLCH L 72.0% C 0.179 H 315.8°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7DEF |
|---|---|
| RGB | rgb(207, 125, 239) |
| HSL | hsl(283, 78%, 71%) |
| HSV | hsv(283, 48%, 94%) |
| CMYK | cmyk(13.4%, 47.7%, 0%, 6.3%) |
| CIE-LAB | lab(65.09, 50.40, -44.82) |
| CIE-LCH | lch(65.09, 67.45, 318.35°) |
| OKLab | oklab(71.99% 0.1282 -0.1244) |
| OKLCH | oklch(71.99% 0.179 315.8) |
| XYZ | xyz(48.6434, 34.1660, 85.6769) |
| Luminance | 0.3417 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.01
Easter Purple
#C071FE
ΔE00 5.25
Liliac
#C48EFD
ΔE00 5.32
Orchid
#DA70D6
ΔE00 5.77
Violet (CSS)
#EE82EE
ΔE00 6.03
Purply Pink
#F075E6
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7DEF #9DEF7D
analogous
#967DEF #CF7DEF #EF7DD6
triadic
#CF7DEF #EFCF7D #7DEFCF
tetradic
#CF7DEF #EF967D #9DEF7D #7DD6EF
square
#CF7DEF #EF967D #9DEF7D #7DD6EF
split-complementary
#CF7DEF #D6EF7D #7DEF96
monochromatic
#A21AD7 #BB47E8 #CF7DEF #E3B3F6 #F5E4FC
Accessibility & contrast
On white
2.68
#CF7DEF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#CF7DEF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7DEF
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7DEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7DEF | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6699F3
Deuteranopia (green-blind)
#7EA0EC
Tritanopia (blue-blind)
#CD8EAB
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cf7def; /* rgb */ color: rgb(207, 125, 239); /* oklch */ color: oklch(72.0% 0.179 315.8);
Tailwind
colors: {
custom: {
50: '#e0a5f4',
500: '#cf7def',
950: '#000000',
},
}SCSS
$custom: #cf7def; $custom-light: #e0a5f4; $custom-dark: #000000;
JSON
{
"hex": "#cf7def",
"rgb": {
"r": 207,
"g": 125,
"b": 239
},
"hsl": {
"h": 283.158,
"s": 78.082,
"l": 71.373
},
"oklch": {
"l": 0.71992,
"c": 0.17865,
"h": 315.8
},
"luminance": 0.34165
}Semantic roles & 50–950 ramp
primary
#CF7DEF
secondary
#DDF3D5
accent
#DA0B45
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85