#CC7CF0#CC7CF0
#CC7CF0 is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.6% C 0.180 H 314.5°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7CF0 |
|---|---|
| RGB | rgb(204, 124, 240) |
| HSL | hsl(281, 79%, 71%) |
| HSV | hsv(281, 48%, 94%) |
| CMYK | cmyk(15%, 48.3%, 0%, 5.9%) |
| CIE-LAB | lab(64.60, 50.30, -46.18) |
| CIE-LCH | lch(64.60, 68.28, 317.45°) |
| OKLab | oklab(71.57% 0.1261 -0.1284) |
| OKLCH | oklch(71.57% 0.18 314.5) |
| XYZ | xyz(47.8351, 33.5452, 86.3762) |
| Luminance | 0.3354 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.29
Easter Purple
#C071FE
ΔE00 4.58
Liliac
#C48EFD
ΔE00 5.12
Light Urple
#B36FF6
ΔE00 6.16
Orchid
#DA70D6
ΔE00 6.21
Bright Lavender
#C760FF
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7CF0 #A0F07C
analogous
#927CF0 #CC7CF0 #F07CDA
triadic
#CC7CF0 #F0CC7C #7CF0CC
tetradic
#CC7CF0 #F0927C #A0F07C #7CDAF0
square
#CC7CF0 #F0927C #A0F07C #7CDAF0
split-complementary
#CC7CF0 #DAF07C #7CF092
monochromatic
#9D19D9 #B745EA #CC7CF0 #E1B3F6 #F4E4FC
Accessibility & contrast
On white
2.72
#CC7CF0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.71
#CC7CF0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7CF0
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7CF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7CF0 | 1.00 | 2.72 | 7.71 | 7.71 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6398F4
Deuteranopia (green-blind)
#7B9FED
Tritanopia (blue-blind)
#C98EAB
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cc7cf0; /* rgb */ color: rgb(204, 124, 240); /* oklch */ color: oklch(71.6% 0.180 314.5);
Tailwind
colors: {
custom: {
50: '#dea4f5',
500: '#cc7cf0',
950: '#000000',
},
}SCSS
$custom: #cc7cf0; $custom-light: #dea4f5; $custom-dark: #000000;
JSON
{
"hex": "#cc7cf0",
"rgb": {
"r": 204,
"g": 124,
"b": 240
},
"hsl": {
"h": 281.379,
"s": 79.452,
"l": 71.373
},
"oklch": {
"l": 0.71566,
"c": 0.18002,
"h": 314.5
},
"luminance": 0.33544
}Semantic roles & 50–950 ramp
primary
#CC7CF0
secondary
#DEF3D5
accent
#DC0A4B
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85