#CC7FC6#CC7FC6
#CC7FC6 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.1% C 0.132 H 329.7°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7FC6 |
|---|---|
| RGB | rgb(204, 127, 198) |
| HSL | hsl(305, 43%, 65%) |
| HSV | hsv(305, 38%, 80%) |
| CMYK | cmyk(0%, 37.7%, 2.9%, 20%) |
| CIE-LAB | lab(63.42, 40.56, -24.60) |
| CIE-LCH | lch(63.42, 47.43, 328.77°) |
| OKLab | oklab(70.1% 0.114 -0.0667) |
| OKLCH | oklch(70.1% 0.132 329.7) |
| XYZ | xyz(42.6836, 32.0953, 57.3618) |
| Luminance | 0.3209 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.71
Lavender Pink
#DD85D7
ΔE00 3.71
Orchid
#DA70D6
ΔE00 5.05
Pale Magenta
#D767AD
ΔE00 7.23
Purply Pink
#F075E6
ΔE00 7.29
Violet (CSS)
#EE82EE
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7FC6 #7FCC85
analogous
#AB7FCC #CC7FC6 #CC7FA0
triadic
#CC7FC6 #C6CC7F #7FC6CC
tetradic
#CC7FC6 #CCAB7F #7FCC85 #7FA0CC
square
#CC7FC6 #CCAB7F #7FCC85 #7FA0CC
split-complementary
#CC7FC6 #A0CC7F #7FCCAB
monochromatic
#953B8E #BB53B3 #CC7FC6 #DDABD9 #EFD7ED
Accessibility & contrast
On white
2.83
#CC7FC6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.42
#CC7FC6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7FC6
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7FC6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7FC6 | 1.00 | 2.83 | 7.42 | 7.42 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B93C9
Deuteranopia (green-blind)
#8F9DC4
Tritanopia (blue-blind)
#D1859A
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #cc7fc6; /* rgb */ color: rgb(204, 127, 198); /* oklch */ color: oklch(70.1% 0.132 329.7);
Tailwind
colors: {
custom: {
50: '#dda5d7',
500: '#cc7fc6',
950: '#000000',
},
}SCSS
$custom: #cc7fc6; $custom-light: #dda5d7; $custom-dark: #000000;
JSON
{
"hex": "#cc7fc6",
"rgb": {
"r": 204,
"g": 127,
"b": 198
},
"hsl": {
"h": 304.675,
"s": 43.017,
"l": 64.902
},
"oklch": {
"l": 0.70095,
"c": 0.13204,
"h": 329.7
},
"luminance": 0.32093
}Semantic roles & 50–950 ramp
primary
#CC7FC6
secondary
#C6E1C8
accent
#B63A2F
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83