#CC79EC#CC79EC
#CC79EC is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.9% C 0.181 H 315.9°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #CC79EC |
|---|---|
| RGB | rgb(204, 121, 236) |
| HSL | hsl(283, 75%, 70%) |
| HSV | hsv(283, 49%, 93%) |
| CMYK | cmyk(13.6%, 48.7%, 0%, 7.5%) |
| CIE-LAB | lab(63.81, 51.03, -45.21) |
| CIE-LCH | lch(63.81, 68.18, 318.46°) |
| OKLab | oklab(70.92% 0.1297 -0.1256) |
| OKLCH | oklch(70.92% 0.181 315.9) |
| XYZ | xyz(46.8772, 32.5696, 83.1578) |
| Luminance | 0.3257 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.52
Easter Purple
#C071FE
ΔE00 4.71
Orchid
#DA70D6
ΔE00 5.48
Liliac
#C48EFD
ΔE00 5.97
Light Urple
#B36FF6
ΔE00 6.16
Bright Lilac
#C95EFB
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC79EC #99EC79
analogous
#9279EC #CC79EC #EC79D3
triadic
#CC79EC #ECCC79 #79ECCC
tetradic
#CC79EC #EC9279 #99EC79 #79D3EC
square
#CC79EC #EC9279 #99EC79 #79D3EC
split-complementary
#CC79EC #D3EC79 #79EC92
monochromatic
#9C1DCD #B843E4 #CC79EC #E0AFF4 #F5E4FB
Accessibility & contrast
On white
2.79
#CC79EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.51
#CC79EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC79EC
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC79EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC79EC | 1.00 | 2.79 | 7.51 | 7.51 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6295F0
Deuteranopia (green-blind)
#7A9DE9
Tritanopia (blue-blind)
#CA8AA8
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #cc79ec; /* rgb */ color: rgb(204, 121, 236); /* oklch */ color: oklch(70.9% 0.181 315.9);
Tailwind
colors: {
custom: {
50: '#dea2f2',
500: '#cc79ec',
950: '#000000',
},
}SCSS
$custom: #cc79ec; $custom-light: #dea2f2; $custom-dark: #000000;
JSON
{
"hex": "#cc79ec",
"rgb": {
"r": 204,
"g": 121,
"b": 236
},
"hsl": {
"h": 283.304,
"s": 75.163,
"l": 70
},
"oklch": {
"l": 0.70918,
"c": 0.18055,
"h": 315.9
},
"luminance": 0.32568
}Semantic roles & 50–950 ramp
primary
#CC79EC
secondary
#D9F0D0
accent
#D70E46
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85