#CC79C8#CC79C8
#CC79C8 is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.2% C 0.144 H 328.7°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #CC79C8 |
|---|---|
| RGB | rgb(204, 121, 200) |
| HSL | hsl(303, 45%, 64%) |
| HSV | hsv(303, 41%, 80%) |
| CMYK | cmyk(0%, 40.7%, 2%, 20%) |
| CIE-LAB | lab(62.24, 44.09, -27.54) |
| CIE-LCH | lch(62.24, 51.98, 328.01°) |
| OKLab | oklab(69.23% 0.1234 -0.0749) |
| OKLCH | oklch(69.23% 0.144 328.7) |
| XYZ | xyz(42.1639, 30.6843, 58.3341) |
| Luminance | 0.3068 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 1.27
Orchid
#DA70D6
ΔE00 3.64
Lavender Pink
#DD85D7
ΔE00 4.23
Purply Pink
#F075E6
ΔE00 6.67
Pale Magenta
#D767AD
ΔE00 6.89
Purplish Pink
#CE5DAE
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC79C8 #79CC7D
analogous
#A679CC #CC79C8 #CC799E
triadic
#CC79C8 #C8CC79 #79C8CC
tetradic
#CC79C8 #CCA679 #79CC7D #799ECC
square
#CC79C8 #CCA679 #79CC7D #799ECC
split-complementary
#CC79C8 #9ECC79 #79CCA6
monochromatic
#93388E #BB4DB6 #CC79C8 #DDA5DA #EED2EC
Accessibility & contrast
On white
2.94
#CC79C8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.14
#CC79C8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC79C8
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC79C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC79C8 | 1.00 | 2.94 | 7.14 | 7.14 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7490CB
Deuteranopia (green-blind)
#8A9AC5
Tritanopia (blue-blind)
#D18097
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #cc79c8; /* rgb */ color: rgb(204, 121, 200); /* oklch */ color: oklch(69.2% 0.144 328.7);
Tailwind
colors: {
custom: {
50: '#dda2d9',
500: '#cc79c8',
950: '#000000',
},
}SCSS
$custom: #cc79c8; $custom-light: #dda2d9; $custom-dark: #000000;
JSON
{
"hex": "#cc79c8",
"rgb": {
"r": 204,
"g": 121,
"b": 200
},
"hsl": {
"h": 302.892,
"s": 44.865,
"l": 63.725
},
"oklch": {
"l": 0.69233,
"c": 0.14438,
"h": 328.7
},
"luminance": 0.30682
}Semantic roles & 50–950 ramp
primary
#CC79C8
secondary
#C2DFC3
accent
#B8342D
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83