#CD7DF1#CD7DF1
#CD7DF1 is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.9% C 0.180 H 314.5°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7DF1 |
|---|---|
| RGB | rgb(205, 125, 241) |
| HSL | hsl(281, 81%, 72%) |
| HSV | hsv(281, 48%, 95%) |
| CMYK | cmyk(14.9%, 48.1%, 0%, 5.5%) |
| CIE-LAB | lab(64.96, 50.26, -46.15) |
| CIE-LCH | lch(64.96, 68.24, 317.44°) |
| OKLab | oklab(71.88% 0.1261 -0.1283) |
| OKLCH | oklch(71.88% 0.18 314.5) |
| XYZ | xyz(48.3851, 33.9985, 87.2156) |
| Luminance | 0.3400 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.46
Easter Purple
#C071FE
ΔE00 4.74
Liliac
#C48EFD
ΔE00 4.96
Orchid
#DA70D6
ΔE00 6.29
Light Urple
#B36FF6
ΔE00 6.38
Violet (CSS)
#EE82EE
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7DF1 #A1F17D
analogous
#937DF1 #CD7DF1 #F17DDB
triadic
#CD7DF1 #F1CD7D #7DF1CD
tetradic
#CD7DF1 #F1937D #A1F17D #7DDBF1
square
#CD7DF1 #F1937D #A1F17D #7DDBF1
split-complementary
#CD7DF1 #DBF17D #7DF193
monochromatic
#9F18DC #B846EB #CD7DF1 #E2B4F7 #F4E3FC
Accessibility & contrast
On white
2.69
#CD7DF1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#CD7DF1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7DF1
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7DF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7DF1 | 1.00 | 2.69 | 7.80 | 7.80 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6499F5
Deuteranopia (green-blind)
#7CA0EE
Tritanopia (blue-blind)
#CA8FAC
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cd7df1; /* rgb */ color: rgb(205, 125, 241); /* oklch */ color: oklch(71.9% 0.180 314.5);
Tailwind
colors: {
custom: {
50: '#dea5f6',
500: '#cd7df1',
950: '#000000',
},
}SCSS
$custom: #cd7df1; $custom-light: #dea5f6; $custom-dark: #000000;
JSON
{
"hex": "#cd7df1",
"rgb": {
"r": 205,
"g": 125,
"b": 241
},
"hsl": {
"h": 281.379,
"s": 80.556,
"l": 71.765
},
"oklch": {
"l": 0.71875,
"c": 0.17991,
"h": 314.5
},
"luminance": 0.33997
}Semantic roles & 50–950 ramp
primary
#CD7DF1
secondary
#DFF4D6
accent
#DD094A
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85