#B393F8#B393F8
#B393F8 is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.2% C 0.145 H 297.3°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #B393F8 |
|---|---|
| RGB | rgb(179, 147, 248) |
| HSL | hsl(259, 88%, 77%) |
| HSV | hsv(259, 41%, 97%) |
| CMYK | cmyk(27.8%, 40.7%, 0%, 2.7%) |
| CIE-LAB | lab(67.45, 32.77, -46.26) |
| CIE-LCH | lch(67.45, 56.69, 305.31°) |
| OKLab | oklab(73.25% 0.0667 -0.1293) |
| OKLCH | oklch(73.25% 0.146 297.3) |
| XYZ | xyz(45.9634, 37.2280, 93.5529) |
| Luminance | 0.3723 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.83
Pastel Purple
#CAA0FF
ΔE00 4.98
Baby Purple
#CA9BF7
ΔE00 5.12
Lilac (survey)
#CEA2FD
ΔE00 6.01
Lavender (survey)
#C79FEF
ΔE00 6.01
Lavender
#B39DDB
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B393F8 #D8F893
analogous
#93A5F8 #B393F8 #E693F8
triadic
#B393F8 #F8B393 #93F8B3
tetradic
#B393F8 #F893A5 #D8F893 #93F8E6
square
#B393F8 #F893A5 #D8F893 #93F8E6
split-complementary
#B393F8 #F8E693 #A5F893
monochromatic
#6220F1 #8B5AF4 #B393F8 #DBCCFC #EBE2FD
Accessibility & contrast
On white
2.49
#B393F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.45
#B393F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B393F8
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B393F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B393F8 | 1.00 | 2.49 | 8.45 | 8.45 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#77A5FC
Deuteranopia (green-blind)
#7CA3F5
Tritanopia (blue-blind)
#A5A5BA
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b393f8; /* rgb */ color: rgb(179, 147, 248); /* oklch */ color: oklch(73.2% 0.145 297.3);
Tailwind
colors: {
custom: {
50: '#ccb3fb',
500: '#b393f8',
950: '#000000',
},
}SCSS
$custom: #b393f8; $custom-light: #ccb3fb; $custom-dark: #000000;
JSON
{
"hex": "#b393f8",
"rgb": {
"r": 179,
"g": 147,
"b": 248
},
"hsl": {
"h": 259.01,
"s": 87.826,
"l": 77.451
},
"oklch": {
"l": 0.73247,
"c": 0.1455,
"h": 297.3
},
"luminance": 0.37228
}Semantic roles & 50–950 ramp
primary
#B393F8
secondary
#EBF5D6
accent
#E4019C
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085