#B993EF#B993EF
#B993EF is a light, vivid violet. Relative luminance 0.374; OKLCH L 73.3% C 0.135 H 302.2°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #B993EF |
|---|---|
| RGB | rgb(185, 147, 239) |
| HSL | hsl(265, 74%, 76%) |
| HSV | hsv(265, 38%, 94%) |
| CMYK | cmyk(22.6%, 38.5%, 0%, 6.3%) |
| CIE-LAB | lab(67.59, 32.33, -41.08) |
| CIE-LCH | lch(67.59, 52.27, 308.20°) |
| OKLab | oklab(73.35% 0.0719 -0.1142) |
| OKLCH | oklch(73.35% 0.135 302.2) |
| XYZ | xyz(46.0179, 37.4137, 86.4418) |
| Luminance | 0.3741 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.27
Baby Purple
#CA9BF7
ΔE00 3.46
Pastel Purple
#CAA0FF
ΔE00 4.09
Lavender (survey)
#C79FEF
ΔE00 4.16
Lilac (survey)
#CEA2FD
ΔE00 4.79
Pale Purple
#B790D4
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B993EF #C9EF93
analogous
#939BEF #B993EF #E793EF
triadic
#B993EF #EFB993 #93EFB9
tetradic
#B993EF #EF939B #C9EF93 #93EFE7
square
#B993EF #EF939B #C9EF93 #93EFE7
split-complementary
#B993EF #EFE793 #9BEF93
monochromatic
#7428DF #965EE7 #B993EF #DCC8F7 #EEE4FB
Accessibility & contrast
On white
2.48
#B993EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.48
#B993EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B993EF
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B993EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B993EF | 1.00 | 2.48 | 8.48 | 8.48 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7DA4F3
Deuteranopia (green-blind)
#84A4ED
Tritanopia (blue-blind)
#B0A2B6
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b993ef; /* rgb */ color: rgb(185, 147, 239); /* oklch */ color: oklch(73.3% 0.135 302.2);
Tailwind
colors: {
custom: {
50: '#cfb3f4',
500: '#b993ef',
950: '#000000',
},
}SCSS
$custom: #b993ef; $custom-light: #cfb3f4; $custom-dark: #000000;
JSON
{
"hex": "#b993ef",
"rgb": {
"r": 185,
"g": 147,
"b": 239
},
"hsl": {
"h": 264.783,
"s": 74.194,
"l": 75.686
},
"oklch": {
"l": 0.73348,
"c": 0.13496,
"h": 302.2
},
"luminance": 0.37414
}Semantic roles & 50–950 ramp
primary
#B993EF
secondary
#E8F3D8
accent
#D60F84
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085