#CD7EF9#CD7EF9
#CD7EF9 is a light, vivid violet. Relative luminance 0.347; OKLCH L 72.4% C 0.187 H 312.2°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7EF9 |
|---|---|
| RGB | rgb(205, 126, 249) |
| HSL | hsl(279, 91%, 74%) |
| HSV | hsv(279, 49%, 98%) |
| CMYK | cmyk(17.7%, 49.4%, 0%, 2.4%) |
| CIE-LAB | lab(65.55, 51.41, -49.63) |
| CIE-LCH | lch(65.55, 71.46, 316.01°) |
| OKLab | oklab(72.44% 0.1257 -0.1384) |
| OKLCH | oklch(72.44% 0.187 312.2) |
| XYZ | xyz(49.7336, 34.7415, 93.6900) |
| Luminance | 0.3474 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.03
Easter Purple
#C071FE
ΔE00 4.15
Liliac
#C48EFD
ΔE00 4.28
Light Urple
#B36FF6
ΔE00 6.03
Bright Lavender
#C760FF
ΔE00 6.50
Bright Lilac
#C95EFB
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7EF9 #AAF97E
analogous
#8F7EF9 #CD7EF9 #F97EE7
triadic
#CD7EF9 #F9CD7E #7EF9CD
tetradic
#CD7EF9 #F98F7E #AAF97E #7EE7F9
square
#CD7EF9 #F98F7E #AAF97E #7EE7F9
split-complementary
#CD7EF9 #E7F97E #7EF98F
monochromatic
#9F0BF1 #B644F6 #CD7EF9 #E4B8FC #F4E2FE
Accessibility & contrast
On white
2.64
#CD7EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.95
#CD7EF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7EF9
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7EF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7EF9 | 1.00 | 2.64 | 7.95 | 7.95 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#619BFD
Deuteranopia (green-blind)
#78A1F6
Tritanopia (blue-blind)
#C992B0
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cd7ef9; /* rgb */ color: rgb(205, 126, 249); /* oklch */ color: oklch(72.4% 0.187 312.2);
Tailwind
colors: {
custom: {
50: '#dea5fc',
500: '#cd7ef9',
950: '#000000',
},
}SCSS
$custom: #cd7ef9; $custom-light: #dea5fc; $custom-dark: #000000;
JSON
{
"hex": "#cd7ef9",
"rgb": {
"r": 205,
"g": 126,
"b": 249
},
"hsl": {
"h": 278.537,
"s": 91.111,
"l": 73.529
},
"oklch": {
"l": 0.72435,
"c": 0.18697,
"h": 312.2
},
"luminance": 0.3474
}Semantic roles & 50–950 ramp
primary
#CD7EF9
secondary
#E1F6D5
accent
#E60052
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85