#CD7EDF#CD7EDF
#CD7EDF is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.1% C 0.159 H 320.0°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7EDF |
|---|---|
| RGB | rgb(205, 126, 223) |
| HSL | hsl(289, 60%, 68%) |
| HSV | hsv(289, 43%, 87%) |
| CMYK | cmyk(8.1%, 43.5%, 0%, 12.5%) |
| CIE-LAB | lab(64.35, 46.11, -37.15) |
| CIE-LCH | lch(64.35, 59.21, 321.15°) |
| OKLab | oklab(71.15% 0.122 -0.1024) |
| OKLCH | oklch(71.15% 0.159 320) |
| XYZ | xyz(45.9553, 33.2302, 73.7910) |
| Luminance | 0.3323 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.16
Lavender Pink
#DD85D7
ΔE00 4.73
Orchid (survey)
#C875C4
ΔE00 5.04
Violet (CSS)
#EE82EE
ΔE00 5.64
Purply Pink
#F075E6
ΔE00 5.95
Light Purple
#BF77F6
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7EDF #90DF7E
analogous
#9C7EDF #CD7EDF #DF7EC0
triadic
#CD7EDF #DFCD7E #7EDFCD
tetradic
#CD7EDF #DF9C7E #90DF7E #7EC0DF
square
#CD7EDF #DF9C7E #90DF7E #7EC0DF
split-complementary
#CD7EDF #C0DF7E #7EDF9C
monochromatic
#9C2DB6 #BA4DD3 #CD7EDF #E0AFEB #F3E0F7
Accessibility & contrast
On white
2.75
#CD7EDF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.65
#CD7EDF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7EDF
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7EDF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7EDF | 1.00 | 2.75 | 7.65 | 7.65 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7096E2
Deuteranopia (green-blind)
#859FDC
Tritanopia (blue-blind)
#CE8AA4
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cd7edf; /* rgb */ color: rgb(205, 126, 223); /* oklch */ color: oklch(71.1% 0.159 320.0);
Tailwind
colors: {
custom: {
50: '#dea5e9',
500: '#cd7edf',
950: '#000000',
},
}SCSS
$custom: #cd7edf; $custom-light: #dea5e9; $custom-dark: #000000;
JSON
{
"hex": "#cd7edf",
"rgb": {
"r": 205,
"g": 126,
"b": 223
},
"hsl": {
"h": 288.866,
"s": 60.248,
"l": 68.431
},
"oklch": {
"l": 0.71149,
"c": 0.15922,
"h": 320
},
"luminance": 0.33229
}Semantic roles & 50–950 ramp
primary
#CD7EDF
secondary
#D3EBCE
accent
#C81E3D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84