#CD7EC3#CD7EC3
#CD7EC3 is a light, vivid purple. Relative luminance 0.318; OKLCH L 69.9% C 0.132 H 331.5°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7EC3 |
|---|---|
| RGB | rgb(205, 126, 195) |
| HSL | hsl(308, 44%, 65%) |
| HSV | hsv(308, 39%, 80%) |
| CMYK | cmyk(0%, 38.5%, 4.9%, 19.6%) |
| CIE-LAB | lab(63.21, 40.87, -23.21) |
| CIE-LCH | lch(63.21, 47.00, 330.40°) |
| OKLab | oklab(69.93% 0.1159 -0.0628) |
| OKLCH | oklch(69.93% 0.132 331.5) |
| XYZ | xyz(42.4876, 31.8431, 55.5275) |
| Luminance | 0.3184 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.83
Lavender Pink
#DD85D7
ΔE00 4.02
Orchid
#DA70D6
ΔE00 5.28
Pale Magenta
#D767AD
ΔE00 6.60
Purply Pink
#F075E6
ΔE00 7.49
Purplish Pink
#CE5DAE
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7EC3 #7ECD88
analogous
#B07ECD #CD7EC3 #CD7E9C
triadic
#CD7EC3 #C3CD7E #7EC3CD
tetradic
#CD7EC3 #CDB07E #7ECD88 #7E9CCD
square
#CD7EC3 #CDB07E #7ECD88 #7E9CCD
split-complementary
#CD7EC3 #9CCD7E #7ECDB0
monochromatic
#963A8B #BC52AE #CD7EC3 #DEAAD8 #EFD6EC
Accessibility & contrast
On white
2.85
#CD7EC3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.37
#CD7EC3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7EC3
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7EC3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7EC3 | 1.00 | 2.85 | 7.37 | 7.37 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C92C6
Deuteranopia (green-blind)
#909DC1
Tritanopia (blue-blind)
#D38398
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #cd7ec3; /* rgb */ color: rgb(205, 126, 195); /* oklch */ color: oklch(69.9% 0.132 331.5);
Tailwind
colors: {
custom: {
50: '#dda5d5',
500: '#cd7ec3',
950: '#000000',
},
}SCSS
$custom: #cd7ec3; $custom-light: #dda5d5; $custom-dark: #000000;
JSON
{
"hex": "#cd7ec3",
"rgb": {
"r": 205,
"g": 126,
"b": 195
},
"hsl": {
"h": 307.595,
"s": 44.134,
"l": 64.902
},
"oklch": {
"l": 0.69926,
"c": 0.13178,
"h": 331.5
},
"luminance": 0.31841
}Semantic roles & 50–950 ramp
primary
#CD7EC3
secondary
#C6E1C9
accent
#B7402E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83