#CD7DF9#CD7DF9
#CD7DF9 is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.3% C 0.189 H 312.3°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7DF9 |
|---|---|
| RGB | rgb(205, 125, 249) |
| HSL | hsl(279, 91%, 73%) |
| HSV | hsv(279, 50%, 98%) |
| CMYK | cmyk(17.7%, 49.8%, 0%, 2.4%) |
| CIE-LAB | lab(65.35, 51.93, -49.95) |
| CIE-LCH | lch(65.35, 72.05, 316.12°) |
| OKLab | oklab(72.29% 0.127 -0.1393) |
| OKLCH | oklch(72.29% 0.189 312.3) |
| XYZ | xyz(49.6064, 34.4870, 93.6476) |
| Luminance | 0.3449 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.91
Easter Purple
#C071FE
ΔE00 3.98
Liliac
#C48EFD
ΔE00 4.47
Light Urple
#B36FF6
ΔE00 5.89
Bright Lavender
#C760FF
ΔE00 6.28
Bright Lilac
#C95EFB
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7DF9 #A9F97D
analogous
#8F7DF9 #CD7DF9 #F97DE7
triadic
#CD7DF9 #F9CD7D #7DF9CD
tetradic
#CD7DF9 #F98F7D #A9F97D #7DE7F9
square
#CD7DF9 #F98F7D #A9F97D #7DE7F9
split-complementary
#CD7DF9 #E7F97D #7DF98F
monochromatic
#9F0BF0 #B742F6 #CD7DF9 #E3B7FC #F4E2FE
Accessibility & contrast
On white
2.66
#CD7DF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.90
#CD7DF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7DF9
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7DF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7DF9 | 1.00 | 2.66 | 7.90 | 7.90 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F9AFD
Deuteranopia (green-blind)
#77A0F6
Tritanopia (blue-blind)
#C991B0
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cd7df9; /* rgb */ color: rgb(205, 125, 249); /* oklch */ color: oklch(72.3% 0.189 312.3);
Tailwind
colors: {
custom: {
50: '#dfa5fc',
500: '#cd7df9',
950: '#000000',
},
}SCSS
$custom: #cd7df9; $custom-light: #dfa5fc; $custom-dark: #000000;
JSON
{
"hex": "#cd7df9",
"rgb": {
"r": 205,
"g": 125,
"b": 249
},
"hsl": {
"h": 278.71,
"s": 91.176,
"l": 73.333
},
"oklch": {
"l": 0.72287,
"c": 0.18854,
"h": 312.3
},
"luminance": 0.34486
}Semantic roles & 50–950 ramp
primary
#CD7DF9
secondary
#E1F6D5
accent
#E60051
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85