#CD7EF4#CD7EF4
#CD7EF4 is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.2% C 0.182 H 313.6°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7EF4 |
|---|---|
| RGB | rgb(205, 126, 244) |
| HSL | hsl(280, 84%, 73%) |
| HSV | hsv(280, 48%, 96%) |
| CMYK | cmyk(16%, 48.4%, 0%, 4.3%) |
| CIE-LAB | lab(65.31, 50.37, -47.26) |
| CIE-LCH | lch(65.31, 69.07, 316.82°) |
| OKLab | oklab(72.18% 0.1251 -0.1316) |
| OKLCH | oklch(72.18% 0.182 313.6) |
| XYZ | xyz(48.9641, 34.4337, 89.6374) |
| Luminance | 0.3443 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.32
Liliac
#C48EFD
ΔE00 4.56
Easter Purple
#C071FE
ΔE00 4.58
Light Urple
#B36FF6
ΔE00 6.30
Violet (CSS)
#EE82EE
ΔE00 6.74
Bright Lavender
#C760FF
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7EF4 #A5F47E
analogous
#927EF4 #CD7EF4 #F47EE0
triadic
#CD7EF4 #F4CD7E #7EF4CD
tetradic
#CD7EF4 #F4927E #A5F47E #7EE0F4
square
#CD7EF4 #F4927E #A5F47E #7EE0F4
split-complementary
#CD7EF4 #E0F47E #7EF492
monochromatic
#9F13E4 #B746EF #CD7EF4 #E3B6F9 #F4E3FD
Accessibility & contrast
On white
2.66
#CD7EF4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.89
#CD7EF4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7EF4
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7EF4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7EF4 | 1.00 | 2.66 | 7.89 | 7.89 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#649AF8
Deuteranopia (green-blind)
#7BA1F1
Tritanopia (blue-blind)
#CA90AE
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cd7ef4; /* rgb */ color: rgb(205, 126, 244); /* oklch */ color: oklch(72.2% 0.182 313.6);
Tailwind
colors: {
custom: {
50: '#dea5f8',
500: '#cd7ef4',
950: '#000000',
},
}SCSS
$custom: #cd7ef4; $custom-light: #dea5f8; $custom-dark: #000000;
JSON
{
"hex": "#cd7ef4",
"rgb": {
"r": 205,
"g": 126,
"b": 244
},
"hsl": {
"h": 280.169,
"s": 84.286,
"l": 72.549
},
"oklch": {
"l": 0.72177,
"c": 0.18154,
"h": 313.6
},
"luminance": 0.34432
}Semantic roles & 50–950 ramp
primary
#CD7EF4
secondary
#E0F5D6
accent
#E1054D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85