#CC7EFD#CC7EFD
#CC7EFD is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.5% C 0.191 H 310.8°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7EFD |
|---|---|
| RGB | rgb(204, 126, 253) |
| HSL | hsl(277, 97%, 74%) |
| HSV | hsv(277, 50%, 99%) |
| CMYK | cmyk(19.4%, 50.2%, 0%, 0.8%) |
| CIE-LAB | lab(65.63, 52.00, -51.69) |
| CIE-LCH | lch(65.63, 73.32, 315.17°) |
| OKLab | oklab(72.54% 0.1249 -0.1445) |
| OKLCH | oklch(72.54% 0.191 310.8) |
| XYZ | xyz(50.0891, 34.8519, 96.9979) |
| Luminance | 0.3485 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.82
Easter Purple
#C071FE
ΔE00 3.79
Liliac
#C48EFD
ΔE00 4.10
Light Urple
#B36FF6
ΔE00 5.75
Bright Lavender
#C760FF
ΔE00 6.33
Bright Lilac
#C95EFB
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7EFD #AFFD7E
analogous
#8D7EFD #CC7EFD #FD7EEF
triadic
#CC7EFD #FDCC7E #7EFDCC
tetradic
#CC7EFD #FD8D7E #AFFD7E #7EEFFD
square
#CC7EFD #FD8D7E #AFFD7E #7EEFFD
split-complementary
#CC7EFD #EFFD7E #7EFD8D
monochromatic
#9C05FB #B442FC #CC7EFD #E4BAFE #F3E1FF
Accessibility & contrast
On white
2.63
#CC7EFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.97
#CC7EFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7EFD
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7EFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7EFD | 1.00 | 2.63 | 7.97 | 7.97 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#75A1FA
Tritanopia (blue-blind)
#C693B2
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cc7efd; /* rgb */ color: rgb(204, 126, 253); /* oklch */ color: oklch(72.5% 0.191 310.8);
Tailwind
colors: {
custom: {
50: '#dea6fe',
500: '#cc7efd',
950: '#000000',
},
}SCSS
$custom: #cc7efd; $custom-light: #dea6fe; $custom-dark: #000000;
JSON
{
"hex": "#cc7efd",
"rgb": {
"r": 204,
"g": 126,
"b": 253
},
"hsl": {
"h": 276.85,
"s": 96.947,
"l": 74.314
},
"oklch": {
"l": 0.72538,
"c": 0.19097,
"h": 310.8
},
"luminance": 0.34851
}Semantic roles & 50–950 ramp
primary
#CC7EFD
secondary
#E2F7D4
accent
#E60059
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86