#CD93F2#CD93F2
#CD93F2 is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.4% C 0.145 H 311.3°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #CD93F2 |
|---|---|
| RGB | rgb(205, 147, 242) |
| HSL | hsl(277, 79%, 76%) |
| HSV | hsv(277, 39%, 95%) |
| CMYK | cmyk(15.3%, 39.3%, 0%, 5.1%) |
| CIE-LAB | lab(69.65, 38.79, -39.35) |
| CIE-LCH | lch(69.65, 55.25, 314.59°) |
| OKLab | oklab(75.4% 0.0957 -0.1088) |
| OKLCH | oklch(75.4% 0.145 311.3) |
| XYZ | xyz(51.6348, 40.2582, 89.0377) |
| Luminance | 0.4026 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.38
Liliac
#C48EFD
ΔE00 3.50
Lavender (survey)
#C79FEF
ΔE00 3.77
Lilac (survey)
#CEA2FD
ΔE00 3.94
Pastel Purple
#CAA0FF
ΔE00 4.04
Pale Purple
#B790D4
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD93F2 #B8F293
analogous
#9E93F2 #CD93F2 #F293E7
triadic
#CD93F2 #F2CD93 #93F2CD
tetradic
#CD93F2 #F29E93 #B8F293 #93E7F2
square
#CD93F2 #F29E93 #B8F293 #93E7F2
split-complementary
#CD93F2 #E7F293 #93F29E
monochromatic
#9A26E5 #B45CEB #CD93F2 #E6CAF9 #F2E4FC
Accessibility & contrast
On white
2.32
#CD93F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.05
#CD93F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD93F2
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD93F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD93F2 | 1.00 | 2.32 | 9.05 | 9.05 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81A7F6
Deuteranopia (green-blind)
#8FABEF
Tritanopia (blue-blind)
#C9A1B7
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #cd93f2; /* rgb */ color: rgb(205, 147, 242); /* oklch */ color: oklch(75.4% 0.145 311.3);
Tailwind
colors: {
custom: {
50: '#ddb3f6',
500: '#cd93f2',
950: '#000000',
},
}SCSS
$custom: #cd93f2; $custom-light: #ddb3f6; $custom-dark: #000000;
JSON
{
"hex": "#cd93f2",
"rgb": {
"r": 205,
"g": 147,
"b": 242
},
"hsl": {
"h": 276.632,
"s": 78.512,
"l": 76.275
},
"oklch": {
"l": 0.75402,
"c": 0.14493,
"h": 311.3
},
"luminance": 0.40257
}Semantic roles & 50–950 ramp
primary
#CD93F2
secondary
#E2F4D7
accent
#DB0B5C
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085