#CD7CF9#CD7CF9
#CD7CF9 is a light, vivid violet. Relative luminance 0.342; OKLCH L 72.1% C 0.190 H 312.5°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7CF9 |
|---|---|
| RGB | rgb(205, 124, 249) |
| HSL | hsl(279, 91%, 73%) |
| HSV | hsv(279, 50%, 98%) |
| CMYK | cmyk(17.7%, 50.2%, 0%, 2.4%) |
| CIE-LAB | lab(65.15, 52.45, -50.26) |
| CIE-LCH | lch(65.15, 72.64, 316.22°) |
| OKLab | oklab(72.14% 0.1283 -0.1403) |
| OKLCH | oklch(72.14% 0.19 312.5) |
| XYZ | xyz(49.4804, 34.2351, 93.6056) |
| Luminance | 0.3423 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.80
Easter Purple
#C071FE
ΔE00 3.83
Liliac
#C48EFD
ΔE00 4.67
Light Urple
#B36FF6
ΔE00 5.76
Bright Lavender
#C760FF
ΔE00 6.07
Bright Lilac
#C95EFB
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7CF9 #A8F97C
analogous
#8E7CF9 #CD7CF9 #F97CE6
triadic
#CD7CF9 #F9CD7C #7CF9CD
tetradic
#CD7CF9 #F98E7C #A8F97C #7CE6F9
square
#CD7CF9 #F98E7C #A8F97C #7CE6F9
split-complementary
#CD7CF9 #E6F97C #7CF98E
monochromatic
#9F0BF0 #B741F6 #CD7CF9 #E3B7FC #F4E2FE
Accessibility & contrast
On white
2.68
#CD7CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.85
#CD7CF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7CF9
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7CF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7CF9 | 1.00 | 2.68 | 7.85 | 7.85 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E9AFD
Deuteranopia (green-blind)
#76A0F6
Tritanopia (blue-blind)
#C990AF
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cd7cf9; /* rgb */ color: rgb(205, 124, 249); /* oklch */ color: oklch(72.1% 0.190 312.5);
Tailwind
colors: {
custom: {
50: '#dfa4fc',
500: '#cd7cf9',
950: '#000000',
},
}SCSS
$custom: #cd7cf9; $custom-light: #dfa4fc; $custom-dark: #000000;
JSON
{
"hex": "#cd7cf9",
"rgb": {
"r": 205,
"g": 124,
"b": 249
},
"hsl": {
"h": 278.88,
"s": 91.241,
"l": 73.137
},
"oklch": {
"l": 0.7214,
"c": 0.1901,
"h": 312.5
},
"luminance": 0.34234
}Semantic roles & 50–950 ramp
primary
#CD7CF9
secondary
#E1F6D5
accent
#E60051
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85