#CD93F0#CD93F0
#CD93F0 is a light, vivid violet. Relative luminance 0.401; OKLCH L 75.3% C 0.143 H 311.9°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #CD93F0 |
|---|---|
| RGB | rgb(205, 147, 240) |
| HSL | hsl(277, 76%, 76%) |
| HSV | hsv(277, 39%, 94%) |
| CMYK | cmyk(14.6%, 38.8%, 0%, 5.9%) |
| CIE-LAB | lab(69.57, 38.36, -38.39) |
| CIE-LCH | lch(69.57, 54.27, 314.98°) |
| OKLab | oklab(75.31% 0.0953 -0.106) |
| OKLCH | oklch(75.31% 0.143 311.9) |
| XYZ | xyz(51.3360, 40.1387, 87.4644) |
| Luminance | 0.4014 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.53
Lavender (survey)
#C79FEF
ΔE00 3.71
Liliac
#C48EFD
ΔE00 3.83
Lilac (survey)
#CEA2FD
ΔE00 4.07
Pastel Purple
#CAA0FF
ΔE00 4.24
Pale Purple
#B790D4
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD93F0 #B6F093
analogous
#9E93F0 #CD93F0 #F093E5
triadic
#CD93F0 #F0CD93 #93F0CD
tetradic
#CD93F0 #F09E93 #B6F093 #93E5F0
square
#CD93F0 #F09E93 #B6F093 #93E5F0
split-complementary
#CD93F0 #E5F093 #93F09E
monochromatic
#9B28E1 #B45DE9 #CD93F0 #E6C9F7 #F3E4FB
Accessibility & contrast
On white
2.33
#CD93F0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.03
#CD93F0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD93F0
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD93F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD93F0 | 1.00 | 2.33 | 9.03 | 9.03 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82A7F3
Deuteranopia (green-blind)
#8FABED
Tritanopia (blue-blind)
#CAA0B6
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #cd93f0; /* rgb */ color: rgb(205, 147, 240); /* oklch */ color: oklch(75.3% 0.143 311.9);
Tailwind
colors: {
custom: {
50: '#ddb3f5',
500: '#cd93f0',
950: '#000000',
},
}SCSS
$custom: #cd93f0; $custom-light: #ddb3f5; $custom-dark: #000000;
JSON
{
"hex": "#cd93f0",
"rgb": {
"r": 205,
"g": 147,
"b": 240
},
"hsl": {
"h": 277.419,
"s": 75.61,
"l": 75.882
},
"oklch": {
"l": 0.7531,
"c": 0.14259,
"h": 311.9
},
"luminance": 0.40138
}Semantic roles & 50–950 ramp
primary
#CD93F0
secondary
#E2F3D8
accent
#D80E5A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085