#B993FE#B993FE
#B993FE is a light, vivid violet. Relative luminance 0.383; OKLCH L 74.1% C 0.154 H 299.0°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #B993FE |
|---|---|
| RGB | rgb(185, 147, 254) |
| HSL | hsl(261, 98%, 79%) |
| HSV | hsv(261, 42%, 100%) |
| CMYK | cmyk(27.2%, 42.1%, 0%, 0.4%) |
| CIE-LAB | lab(68.27, 35.85, -48.20) |
| CIE-LCH | lch(68.27, 60.07, 306.64°) |
| OKLab | oklab(74.09% 0.0747 -0.1348) |
| OKLCH | oklch(74.09% 0.154 299) |
| XYZ | xyz(48.3265, 38.3371, 98.6005) |
| Luminance | 0.3834 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.82
Pastel Purple
#CAA0FF
ΔE00 4.40
Baby Purple
#CA9BF7
ΔE00 4.58
Lilac (survey)
#CEA2FD
ΔE00 5.47
Lavender (survey)
#C79FEF
ΔE00 5.89
Light Purple
#BF77F6
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B993FE #D8FE93
analogous
#93A2FE #B993FE #EE93FE
triadic
#B993FE #FEB993 #93FEB9
tetradic
#B993FE #FE93A2 #D8FE93 #93FEEE
square
#B993FE #FE93A2 #D8FE93 #93FEEE
split-complementary
#B993FE #FEEE93 #A2FE93
monochromatic
#6A1AFD #9256FD #B993FE #E0D0FF #EBE1FF
Accessibility & contrast
On white
2.42
#B993FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.67
#B993FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B993FE
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B993FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B993FE | 1.00 | 2.42 | 8.67 | 8.67 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#75A6FF
Deuteranopia (green-blind)
#7DA6FB
Tritanopia (blue-blind)
#ABA6BC
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #b993fe; /* rgb */ color: rgb(185, 147, 254); /* oklch */ color: oklch(74.1% 0.154 299.0);
Tailwind
colors: {
custom: {
50: '#d0b3ff',
500: '#b993fe',
950: '#000000',
},
}SCSS
$custom: #b993fe; $custom-light: #d0b3ff; $custom-dark: #000000;
JSON
{
"hex": "#b993fe",
"rgb": {
"r": 185,
"g": 147,
"b": 254
},
"hsl": {
"h": 261.308,
"s": 98.165,
"l": 78.627
},
"oklch": {
"l": 0.74087,
"c": 0.15412,
"h": 299
},
"luminance": 0.38337
}Semantic roles & 50–950 ramp
primary
#B993FE
secondary
#EBF7D4
accent
#E60094
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086