#CC7FFD#CC7FFD
#CC7FFD is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.7% C 0.189 H 310.7°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7FFD |
|---|---|
| RGB | rgb(204, 127, 253) |
| HSL | hsl(277, 97%, 75%) |
| HSV | hsv(277, 50%, 99%) |
| CMYK | cmyk(19.4%, 49.8%, 0%, 0.8%) |
| CIE-LAB | lab(65.83, 51.48, -51.38) |
| CIE-LCH | lch(65.83, 72.73, 315.06°) |
| OKLab | oklab(72.69% 0.1236 -0.1435) |
| OKLCH | oklch(72.69% 0.189 310.7) |
| XYZ | xyz(50.2176, 35.1089, 97.0407) |
| Luminance | 0.3511 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.96
Liliac
#C48EFD
ΔE00 3.90
Easter Purple
#C071FE
ΔE00 3.97
Light Urple
#B36FF6
ΔE00 5.90
Bright Lavender
#C760FF
ΔE00 6.54
Bright Lilac
#C95EFB
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7FFD #B0FD7F
analogous
#8D7FFD #CC7FFD #FD7FEF
triadic
#CC7FFD #FDCC7F #7FFDCC
tetradic
#CC7FFD #FD8D7F #B0FD7F #7FEFFD
square
#CC7FFD #FD8D7F #B0FD7F #7FEFFD
split-complementary
#CC7FFD #EFFD7F #7FFD8D
monochromatic
#9C06FB #B443FC #CC7FFD #E4BBFE #F3E1FF
Accessibility & contrast
On white
2.62
#CC7FFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#CC7FFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7FFD
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7FFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7FFD | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#76A1FA
Tritanopia (blue-blind)
#C694B3
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #cc7ffd; /* rgb */ color: rgb(204, 127, 253); /* oklch */ color: oklch(72.7% 0.189 310.7);
Tailwind
colors: {
custom: {
50: '#dea6fe',
500: '#cc7ffd',
950: '#000000',
},
}SCSS
$custom: #cc7ffd; $custom-light: #dea6fe; $custom-dark: #000000;
JSON
{
"hex": "#cc7ffd",
"rgb": {
"r": 204,
"g": 127,
"b": 253
},
"hsl": {
"h": 276.667,
"s": 96.923,
"l": 74.51
},
"oklch": {
"l": 0.72686,
"c": 0.18942,
"h": 310.7
},
"luminance": 0.35108
}Semantic roles & 50–950 ramp
primary
#CC7FFD
secondary
#E2F7D4
accent
#E60059
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86