#CD90F9#CD90F9
#CD90F9 is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.2% C 0.158 H 309.8°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #CD90F9 |
|---|---|
| RGB | rgb(205, 144, 249) |
| HSL | hsl(275, 90%, 77%) |
| HSV | hsv(275, 42%, 98%) |
| CMYK | cmyk(17.7%, 42.2%, 0%, 2.4%) |
| CIE-LAB | lab(69.30, 41.90, -43.72) |
| CIE-LCH | lch(69.30, 60.56, 313.78°) |
| OKLab | oklab(75.24% 0.1012 -0.1214) |
| OKLCH | oklch(75.24% 0.158 309.8) |
| XYZ | xyz(52.2458, 39.7660, 94.5275) |
| Luminance | 0.3977 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.23
Baby Purple
#CA9BF7
ΔE00 3.03
Pastel Purple
#CAA0FF
ΔE00 4.26
Lilac (survey)
#CEA2FD
ΔE00 4.50
Lavender (survey)
#C79FEF
ΔE00 4.89
Light Purple
#BF77F6
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD90F9 #BCF990
analogous
#9990F9 #CD90F9 #F990F1
triadic
#CD90F9 #F9CD90 #90F9CD
tetradic
#CD90F9 #F99990 #BCF990 #90F1F9
square
#CD90F9 #F99990 #BCF990 #90F1F9
split-complementary
#CD90F9 #F1F990 #90F999
monochromatic
#991CF3 #B356F6 #CD90F9 #E7CAFC #F2E2FD
Accessibility & contrast
On white
2.35
#CD90F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.95
#CD90F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD90F9
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD90F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD90F9 | 1.00 | 2.35 | 8.95 | 8.95 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#79A6FD
Deuteranopia (green-blind)
#89AAF6
Tritanopia (blue-blind)
#C8A0B9
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #cd90f9; /* rgb */ color: rgb(205, 144, 249); /* oklch */ color: oklch(75.2% 0.158 309.8);
Tailwind
colors: {
custom: {
50: '#deb1fb',
500: '#cd90f9',
950: '#000000',
},
}SCSS
$custom: #cd90f9; $custom-light: #deb1fb; $custom-dark: #000000;
JSON
{
"hex": "#cd90f9",
"rgb": {
"r": 205,
"g": 144,
"b": 249
},
"hsl": {
"h": 274.857,
"s": 89.744,
"l": 77.059
},
"oklch": {
"l": 0.75238,
"c": 0.15806,
"h": 309.8
},
"luminance": 0.39765
}Semantic roles & 50–950 ramp
primary
#CD90F9
secondary
#E3F6D5
accent
#E60060
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085