#CF79EC#CF79EC
#CF79EC is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.3% C 0.182 H 317.1°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #CF79EC |
|---|---|
| RGB | rgb(207, 121, 236) |
| HSL | hsl(285, 75%, 70%) |
| HSV | hsv(285, 49%, 93%) |
| CMYK | cmyk(12.3%, 48.7%, 0%, 7.5%) |
| CIE-LAB | lab(64.16, 51.85, -44.64) |
| CIE-LCH | lch(64.16, 68.42, 319.27°) |
| OKLab | oklab(71.25% 0.1332 -0.1239) |
| OKLCH | oklch(71.25% 0.182 317.1) |
| XYZ | xyz(47.7076, 32.9978, 83.1967) |
| Luminance | 0.3300 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.03
Orchid
#DA70D6
ΔE00 5.09
Easter Purple
#C071FE
ΔE00 5.14
Violet (CSS)
#EE82EE
ΔE00 6.16
Liliac
#C48EFD
ΔE00 6.21
Purply Pink
#F075E6
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF79EC #96EC79
analogous
#9679EC #CF79EC #EC79CF
triadic
#CF79EC #ECCF79 #79ECCF
tetradic
#CF79EC #EC9679 #96EC79 #79CFEC
square
#CF79EC #EC9679 #96EC79 #79CFEC
split-complementary
#CF79EC #CFEC79 #79EC96
monochromatic
#A11DCD #BC43E4 #CF79EC #E2AFF4 #F5E4FB
Accessibility & contrast
On white
2.76
#CF79EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.60
#CF79EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF79EC
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF79EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF79EC | 1.00 | 2.76 | 7.60 | 7.60 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6396F0
Deuteranopia (green-blind)
#7C9EE9
Tritanopia (blue-blind)
#CE8AA8
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #cf79ec; /* rgb */ color: rgb(207, 121, 236); /* oklch */ color: oklch(71.3% 0.182 317.1);
Tailwind
colors: {
custom: {
50: '#e0a2f2',
500: '#cf79ec',
950: '#000000',
},
}SCSS
$custom: #cf79ec; $custom-light: #e0a2f2; $custom-dark: #000000;
JSON
{
"hex": "#cf79ec",
"rgb": {
"r": 207,
"g": 121,
"b": 236
},
"hsl": {
"h": 284.87,
"s": 75.163,
"l": 70
},
"oklch": {
"l": 0.71253,
"c": 0.18192,
"h": 317.1
},
"luminance": 0.32996
}Semantic roles & 50–950 ramp
primary
#CF79EC
secondary
#D8F0D0
accent
#D70E41
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85