#CF79E2#CF79E2
#CF79E2 is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.8% C 0.172 H 320.2°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #CF79E2 |
|---|---|
| RGB | rgb(207, 121, 226) |
| HSL | hsl(289, 64%, 68%) |
| HSV | hsv(289, 46%, 89%) |
| CMYK | cmyk(8.4%, 46.5%, 0%, 11.4%) |
| CIE-LAB | lab(63.70, 49.87, -39.81) |
| CIE-LCH | lch(63.70, 63.81, 321.40°) |
| OKLab | oklab(70.76% 0.1318 -0.1099) |
| OKLCH | oklch(70.76% 0.172 320.2) |
| XYZ | xyz(46.2953, 32.4329, 75.7583) |
| Luminance | 0.3243 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.68
Orchid (survey)
#C875C4
ΔE00 5.34
Light Purple
#BF77F6
ΔE00 5.45
Lavender Pink
#DD85D7
ΔE00 5.51
Purply Pink
#F075E6
ΔE00 5.63
Violet (CSS)
#EE82EE
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF79E2 #8CE279
analogous
#9A79E2 #CF79E2 #E279C0
triadic
#CF79E2 #E2CF79 #79E2CF
tetradic
#CF79E2 #E29A79 #8CE279 #79C0E2
square
#CF79E2 #E29A79 #8CE279 #79C0E2
split-complementary
#CF79E2 #C0E279 #79E29A
monochromatic
#9E28B9 #BD47D7 #CF79E2 #E1ABED #F3DEF8
Accessibility & contrast
On white
2.81
#CF79E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.49
#CF79E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF79E2
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF79E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF79E2 | 1.00 | 2.81 | 7.49 | 7.49 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6994E6
Deuteranopia (green-blind)
#819DDF
Tritanopia (blue-blind)
#D087A3
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #cf79e2; /* rgb */ color: rgb(207, 121, 226); /* oklch */ color: oklch(70.8% 0.172 320.2);
Tailwind
colors: {
custom: {
50: '#dfa2eb',
500: '#cf79e2',
950: '#000000',
},
}SCSS
$custom: #cf79e2; $custom-light: #dfa2eb; $custom-dark: #000000;
JSON
{
"hex": "#cf79e2",
"rgb": {
"r": 207,
"g": 121,
"b": 226
},
"hsl": {
"h": 289.143,
"s": 64.417,
"l": 68.039
},
"oklch": {
"l": 0.70761,
"c": 0.17165,
"h": 320.2
},
"luminance": 0.32431
}Semantic roles & 50–950 ramp
primary
#CF79E2
secondary
#D1EBCB
accent
#CC193A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84