#CD90F6#CD90F6
#CD90F6 is a light, vivid violet. Relative luminance 0.396; OKLCH L 75.1% C 0.155 H 310.6°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #CD90F6 |
|---|---|
| RGB | rgb(205, 144, 246) |
| HSL | hsl(276, 85%, 76%) |
| HSV | hsv(276, 41%, 96%) |
| CMYK | cmyk(16.7%, 41.5%, 0%, 3.5%) |
| CIE-LAB | lab(69.17, 41.26, -42.29) |
| CIE-LCH | lch(69.17, 59.08, 314.29°) |
| OKLab | oklab(75.1% 0.1007 -0.1173) |
| OKLCH | oklch(75.1% 0.155 310.6) |
| XYZ | xyz(51.7817, 39.5803, 92.0828) |
| Luminance | 0.3958 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.62
Baby Purple
#CA9BF7
ΔE00 2.97
Pastel Purple
#CAA0FF
ΔE00 4.37
Lilac (survey)
#CEA2FD
ΔE00 4.51
Lavender (survey)
#C79FEF
ΔE00 4.68
Pale Purple
#B790D4
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD90F6 #B9F690
analogous
#9A90F6 #CD90F6 #F690EC
triadic
#CD90F6 #F6CD90 #90F6CD
tetradic
#CD90F6 #F69A90 #B9F690 #90ECF6
square
#CD90F6 #F69A90 #B9F690 #90ECF6
split-complementary
#CD90F6 #ECF690 #90F69A
monochromatic
#9A1FED #B357F1 #CD90F6 #E7C9FB #F2E3FD
Accessibility & contrast
On white
2.36
#CD90F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.92
#CD90F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD90F6
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD90F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD90F6 | 1.00 | 2.36 | 8.92 | 8.92 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7BA6FA
Deuteranopia (green-blind)
#8AAAF3
Tritanopia (blue-blind)
#C89FB7
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #cd90f6; /* rgb */ color: rgb(205, 144, 246); /* oklch */ color: oklch(75.1% 0.155 310.6);
Tailwind
colors: {
custom: {
50: '#deb1f9',
500: '#cd90f6',
950: '#000000',
},
}SCSS
$custom: #cd90f6; $custom-light: #deb1f9; $custom-dark: #000000;
JSON
{
"hex": "#cd90f6",
"rgb": {
"r": 205,
"g": 144,
"b": 246
},
"hsl": {
"h": 275.882,
"s": 85,
"l": 76.471
},
"oklch": {
"l": 0.75095,
"c": 0.15456,
"h": 310.6
},
"luminance": 0.39579
}Semantic roles & 50–950 ramp
primary
#CD90F6
secondary
#E3F5D6
accent
#E1045D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085