#CD7EF3#CD7EF3
#CD7EF3 is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.1% C 0.180 H 313.8°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7EF3 |
|---|---|
| RGB | rgb(205, 126, 243) |
| HSL | hsl(281, 83%, 72%) |
| HSV | hsv(281, 48%, 95%) |
| CMYK | cmyk(15.6%, 48.1%, 0%, 4.7%) |
| CIE-LAB | lab(65.26, 50.16, -46.79) |
| CIE-LCH | lch(65.26, 68.59, 316.99°) |
| OKLab | oklab(72.13% 0.125 -0.1302) |
| OKLCH | oklch(72.13% 0.18 313.8) |
| XYZ | xyz(48.8127, 34.3731, 88.8400) |
| Luminance | 0.3437 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.40
Liliac
#C48EFD
ΔE00 4.63
Easter Purple
#C071FE
ΔE00 4.68
Light Urple
#B36FF6
ΔE00 6.37
Orchid
#DA70D6
ΔE00 6.63
Violet (CSS)
#EE82EE
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7EF3 #A4F37E
analogous
#937EF3 #CD7EF3 #F37EDE
triadic
#CD7EF3 #F3CD7E #7EF3CD
tetradic
#CD7EF3 #F3937E #A4F37E #7EDEF3
square
#CD7EF3 #F3937E #A4F37E #7EDEF3
split-complementary
#CD7EF3 #DEF37E #7EF393
monochromatic
#9F15E2 #B746EE #CD7EF3 #E3B6F8 #F4E3FC
Accessibility & contrast
On white
2.67
#CD7EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.87
#CD7EF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7EF3
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7EF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7EF3 | 1.00 | 2.67 | 7.87 | 7.87 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#659AF7
Deuteranopia (green-blind)
#7BA0F0
Tritanopia (blue-blind)
#CA90AD
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cd7ef3; /* rgb */ color: rgb(205, 126, 243); /* oklch */ color: oklch(72.1% 0.180 313.8);
Tailwind
colors: {
custom: {
50: '#dea5f7',
500: '#cd7ef3',
950: '#000000',
},
}SCSS
$custom: #cd7ef3; $custom-light: #dea5f7; $custom-dark: #000000;
JSON
{
"hex": "#cd7ef3",
"rgb": {
"r": 205,
"g": 126,
"b": 243
},
"hsl": {
"h": 280.513,
"s": 82.979,
"l": 72.353
},
"oklch": {
"l": 0.72126,
"c": 0.18047,
"h": 313.8
},
"luminance": 0.34372
}Semantic roles & 50–950 ramp
primary
#CD7EF3
secondary
#E0F4D7
accent
#DF064D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85