#CF79CC#CF79CC
#CF79CC is a light, vivid purple. Relative luminance 0.313; OKLCH L 69.8% C 0.150 H 328.3°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #CF79CC |
|---|---|
| RGB | rgb(207, 121, 204) |
| HSL | hsl(302, 47%, 64%) |
| HSV | hsv(302, 42%, 81%) |
| CMYK | cmyk(0%, 41.5%, 1.4%, 18.8%) |
| CIE-LAB | lab(62.76, 45.73, -28.96) |
| CIE-LCH | lch(62.76, 54.13, 327.66°) |
| OKLab | oklab(69.75% 0.1277 -0.0789) |
| OKLCH | oklch(69.75% 0.15 328.3) |
| XYZ | xyz(43.4679, 31.3019, 60.8673) |
| Luminance | 0.3130 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 1.82
Orchid
#DA70D6
ΔE00 2.99
Lavender Pink
#DD85D7
ΔE00 3.78
Purply Pink
#F075E6
ΔE00 5.94
Violet (CSS)
#EE82EE
ΔE00 6.65
Pale Magenta
#D767AD
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF79CC #79CF7C
analogous
#A779CF #CF79CC #CF79A1
triadic
#CF79CC #CCCF79 #79CCCF
tetradic
#CF79CC #CFA779 #79CF7C #79A1CF
square
#CF79CC #CFA779 #79CF7C #79A1CF
split-complementary
#CF79CC #A1CF79 #79CFA7
monochromatic
#973694 #BF4CBB #CF79CC #DFA6DD #EFD3EE
Accessibility & contrast
On white
2.89
#CF79CC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#CF79CC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF79CC
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF79CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF79CC | 1.00 | 2.89 | 7.26 | 7.26 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7391CF
Deuteranopia (green-blind)
#8A9CC9
Tritanopia (blue-blind)
#D48199
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #cf79cc; /* rgb */ color: rgb(207, 121, 204); /* oklch */ color: oklch(69.8% 0.150 328.3);
Tailwind
colors: {
custom: {
50: '#dfa2db',
500: '#cf79cc',
950: '#000000',
},
}SCSS
$custom: #cf79cc; $custom-light: #dfa2db; $custom-dark: #000000;
JSON
{
"hex": "#cf79cc",
"rgb": {
"r": 207,
"g": 121,
"b": 204
},
"hsl": {
"h": 302.093,
"s": 47.253,
"l": 64.314
},
"oklch": {
"l": 0.69754,
"c": 0.15014,
"h": 328.3
},
"luminance": 0.313
}Semantic roles & 50–950 ramp
primary
#CF79CC
secondary
#C3E1C4
accent
#BB302B
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83