#CC7CFD#CC7CFD
#CC7CFD is a light, vivid violet. Relative luminance 0.343; OKLCH L 72.2% C 0.194 H 311.1°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7CFD |
|---|---|
| RGB | rgb(204, 124, 253) |
| HSL | hsl(277, 97%, 74%) |
| HSV | hsv(277, 51%, 99%) |
| CMYK | cmyk(19.4%, 51%, 0%, 0.8%) |
| CIE-LAB | lab(65.24, 53.03, -52.32) |
| CIE-LCH | lch(65.24, 74.50, 315.38°) |
| OKLab | oklab(72.24% 0.1275 -0.1463) |
| OKLCH | oklch(72.24% 0.194 311.1) |
| XYZ | xyz(49.8359, 34.3455, 96.9135) |
| Luminance | 0.3434 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.58
Easter Purple
#C071FE
ΔE00 3.44
Liliac
#C48EFD
ΔE00 4.50
Light Urple
#B36FF6
ΔE00 5.47
Bright Lavender
#C760FF
ΔE00 5.89
Bright Lilac
#C95EFB
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7CFD #ADFD7C
analogous
#8C7CFD #CC7CFD #FD7CEE
triadic
#CC7CFD #FDCC7C #7CFDCC
tetradic
#CC7CFD #FD8C7C #ADFD7C #7CEEFD
square
#CC7CFD #FD8C7C #ADFD7C #7CEEFD
split-complementary
#CC7CFD #EEFD7C #7CFD8C
monochromatic
#9D04FB #B540FC #CC7CFD #E3B8FE #F3E1FF
Accessibility & contrast
On white
2.67
#CC7CFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.87
#CC7CFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7CFD
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7CFD | 1.00 | 2.67 | 7.87 | 7.87 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A9AFF
Deuteranopia (green-blind)
#73A0FA
Tritanopia (blue-blind)
#C691B1
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cc7cfd; /* rgb */ color: rgb(204, 124, 253); /* oklch */ color: oklch(72.2% 0.194 311.1);
Tailwind
colors: {
custom: {
50: '#dea4fe',
500: '#cc7cfd',
950: '#000000',
},
}SCSS
$custom: #cc7cfd; $custom-light: #dea4fe; $custom-dark: #000000;
JSON
{
"hex": "#cc7cfd",
"rgb": {
"r": 204,
"g": 124,
"b": 253
},
"hsl": {
"h": 277.209,
"s": 96.992,
"l": 73.922
},
"oklch": {
"l": 0.72244,
"c": 0.19406,
"h": 311.1
},
"luminance": 0.34345
}Semantic roles & 50–950 ramp
primary
#CC7CFD
secondary
#E1F7D4
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86