#CC7FF0#CC7FF0
#CC7FF0 is a light, vivid purple. Relative luminance 0.343; OKLCH L 72.0% C 0.175 H 314.2°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7FF0 |
|---|---|
| RGB | rgb(204, 127, 240) |
| HSL | hsl(281, 79%, 72%) |
| HSV | hsv(281, 47%, 94%) |
| CMYK | cmyk(15%, 47.1%, 0%, 5.9%) |
| CIE-LAB | lab(65.21, 48.74, -45.22) |
| CIE-LCH | lch(65.21, 66.49, 317.14°) |
| OKLab | oklab(72.02% 0.1221 -0.1257) |
| OKLCH | oklch(72.02% 0.175 314.2) |
| XYZ | xyz(48.2168, 34.3086, 86.5034) |
| Luminance | 0.3431 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.65
Liliac
#C48EFD
ΔE00 4.62
Easter Purple
#C071FE
ΔE00 5.04
Orchid
#DA70D6
ΔE00 6.43
Violet (CSS)
#EE82EE
ΔE00 6.55
Light Urple
#B36FF6
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7FF0 #A3F07F
analogous
#947FF0 #CC7FF0 #F07FDC
triadic
#CC7FF0 #F0CC7F #7FF0CC
tetradic
#CC7FF0 #F0947F #A3F07F #7FDCF0
square
#CC7FF0 #F0947F #A3F07F #7FDCF0
split-complementary
#CC7FF0 #DCF07F #7FF094
monochromatic
#9D1ADB #B648EA #CC7FF0 #E2B6F6 #F4E4FC
Accessibility & contrast
On white
2.67
#CC7FF0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.86
#CC7FF0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7FF0
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7FF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7FF0 | 1.00 | 2.67 | 7.86 | 7.86 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#679AF4
Deuteranopia (green-blind)
#7DA0ED
Tritanopia (blue-blind)
#C990AC
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cc7ff0; /* rgb */ color: rgb(204, 127, 240); /* oklch */ color: oklch(72.0% 0.175 314.2);
Tailwind
colors: {
custom: {
50: '#dda6f5',
500: '#cc7ff0',
950: '#000000',
},
}SCSS
$custom: #cc7ff0; $custom-light: #dda6f5; $custom-dark: #000000;
JSON
{
"hex": "#cc7ff0",
"rgb": {
"r": 204,
"g": 127,
"b": 240
},
"hsl": {
"h": 280.885,
"s": 79.021,
"l": 71.961
},
"oklch": {
"l": 0.72017,
"c": 0.1752,
"h": 314.2
},
"luminance": 0.34307
}Semantic roles & 50–950 ramp
primary
#CC7FF0
secondary
#E0F4D7
accent
#DB0A4D
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85