#B293EF#B293EF
#B293EF is a light, vivid violet. Relative luminance 0.366; OKLCH L 72.7% C 0.134 H 298.5°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #B293EF |
|---|---|
| RGB | rgb(178, 147, 239) |
| HSL | hsl(260, 74%, 76%) |
| HSV | hsv(260, 38%, 94%) |
| CMYK | cmyk(25.5%, 38.5%, 0%, 6.3%) |
| CIE-LAB | lab(66.95, 30.33, -42.12) |
| CIE-LCH | lch(66.95, 51.91, 305.76°) |
| OKLab | oklab(72.71% 0.0638 -0.1173) |
| OKLCH | oklch(72.71% 0.134 298.5) |
| XYZ | xyz(44.3702, 36.5641, 86.3646) |
| Luminance | 0.3656 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 4.24
Baby Purple
#CA9BF7
ΔE00 4.78
Pastel Purple
#CAA0FF
ΔE00 4.98
Lavender (survey)
#C79FEF
ΔE00 5.25
Lilac (survey)
#CEA2FD
ΔE00 5.83
Lavender
#B39DDB
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B293EF #D0EF93
analogous
#93A2EF #B293EF #E093EF
triadic
#B293EF #EFB293 #93EFB2
tetradic
#B293EF #EF93A2 #D0EF93 #93EFE0
square
#B293EF #EF93A2 #D0EF93 #93EFE0
split-complementary
#B293EF #EFE093 #A2EF93
monochromatic
#6628DF #8C5EE7 #B293EF #D8C8F7 #ECE4FB
Accessibility & contrast
On white
2.53
#B293EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.31
#B293EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B293EF
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B293EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B293EF | 1.00 | 2.53 | 8.31 | 8.31 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7BA3F3
Deuteranopia (green-blind)
#81A2ED
Tritanopia (blue-blind)
#A6A3B6
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b293ef; /* rgb */ color: rgb(178, 147, 239); /* oklch */ color: oklch(72.7% 0.134 298.5);
Tailwind
colors: {
custom: {
50: '#cbb3f4',
500: '#b293ef',
950: '#000000',
},
}SCSS
$custom: #b293ef; $custom-light: #cbb3f4; $custom-dark: #000000;
JSON
{
"hex": "#b293ef",
"rgb": {
"r": 178,
"g": 147,
"b": 239
},
"hsl": {
"h": 260.217,
"s": 74.194,
"l": 75.686
},
"oklch": {
"l": 0.72713,
"c": 0.13359,
"h": 298.5
},
"luminance": 0.36564
}Semantic roles & 50–950 ramp
primary
#B293EF
secondary
#EAF3D8
accent
#D60F93
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085