#CD7EF8#CD7EF8
#CD7EF8 is a light, vivid violet. Relative luminance 0.347; OKLCH L 72.4% C 0.186 H 312.5°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7EF8 |
|---|---|
| RGB | rgb(205, 126, 248) |
| HSL | hsl(279, 90%, 73%) |
| HSV | hsv(279, 49%, 97%) |
| CMYK | cmyk(17.3%, 49.2%, 0%, 2.7%) |
| CIE-LAB | lab(65.50, 51.20, -49.16) |
| CIE-LCH | lch(65.50, 70.98, 316.17°) |
| OKLab | oklab(72.38% 0.1256 -0.1371) |
| OKLCH | oklch(72.38% 0.186 312.5) |
| XYZ | xyz(49.5780, 34.6793, 92.8708) |
| Luminance | 0.3468 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.07
Easter Purple
#C071FE
ΔE00 4.23
Liliac
#C48EFD
ΔE00 4.33
Light Urple
#B36FF6
ΔE00 6.07
Bright Lavender
#C760FF
ΔE00 6.54
Bright Lilac
#C95EFB
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7EF8 #A9F87E
analogous
#907EF8 #CD7EF8 #F87EE6
triadic
#CD7EF8 #F8CD7E #7EF8CD
tetradic
#CD7EF8 #F8907E #A9F87E #7EE6F8
square
#CD7EF8 #F8907E #A9F87E #7EE6F8
split-complementary
#CD7EF8 #E6F87E #7EF890
monochromatic
#9F0DEF #B644F5 #CD7EF8 #E3B8FB #F4E2FD
Accessibility & contrast
On white
2.65
#CD7EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.94
#CD7EF8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7EF8
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7EF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7EF8 | 1.00 | 2.65 | 7.94 | 7.94 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#619BFC
Deuteranopia (green-blind)
#79A1F5
Tritanopia (blue-blind)
#C991B0
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cd7ef8; /* rgb */ color: rgb(205, 126, 248); /* oklch */ color: oklch(72.4% 0.186 312.5);
Tailwind
colors: {
custom: {
50: '#dea5fb',
500: '#cd7ef8',
950: '#000000',
},
}SCSS
$custom: #cd7ef8; $custom-light: #dea5fb; $custom-dark: #000000;
JSON
{
"hex": "#cd7ef8",
"rgb": {
"r": 205,
"g": 126,
"b": 248
},
"hsl": {
"h": 278.852,
"s": 89.706,
"l": 73.333
},
"oklch": {
"l": 0.72383,
"c": 0.18589,
"h": 312.5
},
"luminance": 0.34678
}Semantic roles & 50–950 ramp
primary
#CD7EF8
secondary
#E1F6D5
accent
#E60051
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85