#CD90F2#CD90F2
#CD90F2 is a light, vivid violet. Relative luminance 0.393; OKLCH L 74.9% C 0.150 H 311.8°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #CD90F2 |
|---|---|
| RGB | rgb(205, 144, 242) |
| HSL | hsl(277, 79%, 76%) |
| HSV | hsv(277, 40%, 95%) |
| CMYK | cmyk(15.3%, 40.5%, 0%, 5.1%) |
| CIE-LAB | lab(69.00, 40.41, -40.38) |
| CIE-LCH | lch(69.00, 57.12, 315.02°) |
| OKLab | oklab(74.91% 0.1 -0.1117) |
| OKLCH | oklch(74.91% 0.15 311.8) |
| XYZ | xyz(51.1743, 39.3374, 88.8842) |
| Luminance | 0.3934 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 3.04
Liliac
#C48EFD
ΔE00 3.23
Lavender (survey)
#C79FEF
ΔE00 4.49
Pastel Purple
#CAA0FF
ΔE00 4.62
Lilac (survey)
#CEA2FD
ΔE00 4.62
Pale Purple
#B790D4
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD90F2 #B5F290
analogous
#9C90F2 #CD90F2 #F290E6
triadic
#CD90F2 #F2CD90 #90F2CD
tetradic
#CD90F2 #F29C90 #B5F290 #90E6F2
square
#CD90F2 #F29C90 #B5F290 #90E6F2
split-complementary
#CD90F2 #E6F290 #90F29C
monochromatic
#9C22E5 #B459EC #CD90F2 #E6C7F8 #F3E4FC
Accessibility & contrast
On white
2.37
#CD90F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.87
#CD90F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD90F2
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD90F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD90F2 | 1.00 | 2.37 | 8.87 | 8.87 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7DA5F6
Deuteranopia (green-blind)
#8CAAEF
Tritanopia (blue-blind)
#C99EB6
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #cd90f2; /* rgb */ color: rgb(205, 144, 242); /* oklch */ color: oklch(74.9% 0.150 311.8);
Tailwind
colors: {
custom: {
50: '#deb1f6',
500: '#cd90f2',
950: '#000000',
},
}SCSS
$custom: #cd90f2; $custom-light: #deb1f6; $custom-dark: #000000;
JSON
{
"hex": "#cd90f2",
"rgb": {
"r": 205,
"g": 144,
"b": 242
},
"hsl": {
"h": 277.347,
"s": 79.032,
"l": 75.686
},
"oklch": {
"l": 0.74906,
"c": 0.14993,
"h": 311.8
},
"luminance": 0.39336
}Semantic roles & 50–950 ramp
primary
#CD90F2
secondary
#E2F4D7
accent
#DB0A59
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085