#CC7FD2#CC7FD2
#CC7FD2 is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.6% C 0.144 H 324.4°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7FD2 |
|---|---|
| RGB | rgb(204, 127, 210) |
| HSL | hsl(296, 48%, 66%) |
| HSV | hsv(296, 40%, 82%) |
| CMYK | cmyk(2.9%, 39.5%, 0%, 17.6%) |
| CIE-LAB | lab(63.89, 42.78, -30.60) |
| CIE-LCH | lch(63.89, 52.60, 324.42°) |
| OKLab | oklab(70.6% 0.1168 -0.0837) |
| OKLCH | oklch(70.6% 0.144 324.4) |
| XYZ | xyz(44.1229, 32.6710, 64.9422) |
| Luminance | 0.3267 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 3.17
Lavender Pink
#DD85D7
ΔE00 3.44
Orchid
#DA70D6
ΔE00 3.98
Violet (CSS)
#EE82EE
ΔE00 6.24
Purply Pink
#F075E6
ΔE00 6.26
Pale Purple
#B790D4
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7FD2 #85D27F
analogous
#A27FD2 #CC7FD2 #D27FAE
triadic
#CC7FD2 #D2CC7F #7FD2CC
tetradic
#CC7FD2 #D2A27F #85D27F #7FAED2
square
#CC7FD2 #D2A27F #85D27F #7FAED2
split-complementary
#CC7FD2 #AED27F #7FD2A2
monochromatic
#97389F #BA52C2 #CC7FD2 #DEACE2 #F0DAF2
Accessibility & contrast
On white
2.79
#CC7FD2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.53
#CC7FD2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7FD2
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7FD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7FD2 | 1.00 | 2.79 | 7.53 | 7.53 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7795D5
Deuteranopia (green-blind)
#8B9ECF
Tritanopia (blue-blind)
#CF889F
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #cc7fd2; /* rgb */ color: rgb(204, 127, 210); /* oklch */ color: oklch(70.6% 0.144 324.4);
Tailwind
colors: {
custom: {
50: '#dda6e0',
500: '#cc7fd2',
950: '#000000',
},
}SCSS
$custom: #cc7fd2; $custom-light: #dda6e0; $custom-dark: #000000;
JSON
{
"hex": "#cc7fd2",
"rgb": {
"r": 204,
"g": 127,
"b": 210
},
"hsl": {
"h": 295.663,
"s": 47.977,
"l": 66.078
},
"oklch": {
"l": 0.70605,
"c": 0.14367,
"h": 324.4
},
"luminance": 0.32669
}Semantic roles & 50–950 ramp
primary
#CC7FD2
secondary
#CBE4C9
accent
#BB2A35
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83