#CD7EC2#CD7EC2
#CD7EC2 is a light, vivid purple. Relative luminance 0.318; OKLCH L 69.9% C 0.131 H 332.0°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7EC2 |
|---|---|
| RGB | rgb(205, 126, 194) |
| HSL | hsl(308, 44%, 65%) |
| HSV | hsv(308, 39%, 80%) |
| CMYK | cmyk(0%, 38.5%, 5.4%, 19.6%) |
| CIE-LAB | lab(63.18, 40.69, -22.71) |
| CIE-LCH | lch(63.18, 46.60, 330.84°) |
| OKLab | oklab(69.89% 0.1156 -0.0614) |
| OKLCH | oklch(69.89% 0.131 332) |
| XYZ | xyz(42.3749, 31.7980, 54.9341) |
| Luminance | 0.3180 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.96
Lavender Pink
#DD85D7
ΔE00 4.15
Orchid
#DA70D6
ΔE00 5.44
Pale Magenta
#D767AD
ΔE00 6.48
Purply Pink
#F075E6
ΔE00 7.63
Purplish Pink
#CE5DAE
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7EC2 #7ECD89
analogous
#B07ECD #CD7EC2 #CD7E9B
triadic
#CD7EC2 #C2CD7E #7EC2CD
tetradic
#CD7EC2 #CDB07E #7ECD89 #7E9BCD
square
#CD7EC2 #CDB07E #7ECD89 #7E9BCD
split-complementary
#CD7EC2 #9BCD7E #7ECDB0
monochromatic
#963A8A #BC52AD #CD7EC2 #DEAAD7 #EFD6EC
Accessibility & contrast
On white
2.85
#CD7EC2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.36
#CD7EC2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7EC2
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7EC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7EC2 | 1.00 | 2.85 | 7.36 | 7.36 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C92C4
Deuteranopia (green-blind)
#909DC0
Tritanopia (blue-blind)
#D38397
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #cd7ec2; /* rgb */ color: rgb(205, 126, 194); /* oklch */ color: oklch(69.9% 0.131 332.0);
Tailwind
colors: {
custom: {
50: '#dda5d4',
500: '#cd7ec2',
950: '#000000',
},
}SCSS
$custom: #cd7ec2; $custom-light: #dda5d4; $custom-dark: #000000;
JSON
{
"hex": "#cd7ec2",
"rgb": {
"r": 205,
"g": 126,
"b": 194
},
"hsl": {
"h": 308.354,
"s": 44.134,
"l": 64.902
},
"oklch": {
"l": 0.69886,
"c": 0.13088,
"h": 332
},
"luminance": 0.31796
}Semantic roles & 50–950 ramp
primary
#CD7EC2
secondary
#C6E1CA
accent
#B7412E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83