#CC79D9#CC79D9
#CC79D9 is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.0% C 0.161 H 322.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #CC79D9 |
|---|---|
| RGB | rgb(204, 121, 217) |
| HSL | hsl(292, 56%, 66%) |
| HSV | hsv(292, 44%, 85%) |
| CMYK | cmyk(6%, 44.2%, 0%, 14.9%) |
| CIE-LAB | lab(62.95, 47.27, -35.99) |
| CIE-LCH | lch(62.95, 59.41, 322.71°) |
| OKLab | oklab(69.99% 0.1268 -0.099) |
| OKLCH | oklch(69.99% 0.161 322) |
| XYZ | xyz(44.2622, 31.5236, 69.3853) |
| Luminance | 0.3152 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.17
Orchid (survey)
#C875C4
ΔE00 3.86
Lavender Pink
#DD85D7
ΔE00 4.92
Purply Pink
#F075E6
ΔE00 5.92
Violet (CSS)
#EE82EE
ΔE00 6.22
Light Purple
#BF77F6
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC79D9 #86D979
analogous
#9C79D9 #CC79D9 #D979B6
triadic
#CC79D9 #D9CC79 #79D9CC
tetradic
#CC79D9 #D99C79 #86D979 #79B6D9
square
#CC79D9 #D99C79 #86D979 #79B6D9
split-complementary
#CC79D9 #B6D979 #79D99C
monochromatic
#9830A8 #BA49CB #CC79D9 #DEA9E7 #F0D8F4
Accessibility & contrast
On white
2.87
#CC79D9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#CC79D9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC79D9
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC79D9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC79D9 | 1.00 | 2.87 | 7.30 | 7.30 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C92DC
Deuteranopia (green-blind)
#839CD6
Tritanopia (blue-blind)
#CE859F
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #cc79d9; /* rgb */ color: rgb(204, 121, 217); /* oklch */ color: oklch(70.0% 0.161 322.0);
Tailwind
colors: {
custom: {
50: '#dda2e5',
500: '#cc79d9',
950: '#000000',
},
}SCSS
$custom: #cc79d9; $custom-light: #dda2e5; $custom-dark: #000000;
JSON
{
"hex": "#cc79d9",
"rgb": {
"r": 204,
"g": 121,
"b": 217
},
"hsl": {
"h": 291.875,
"s": 55.814,
"l": 66.275
},
"oklch": {
"l": 0.69993,
"c": 0.16092,
"h": 322
},
"luminance": 0.31522
}Semantic roles & 50–950 ramp
primary
#CC79D9
secondary
#CBE7C7
accent
#C32238
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F15
muted
#837F84