#B293F2#B293F2
#B293F2 is a light, vivid violet. Relative luminance 0.367; OKLCH L 72.9% C 0.138 H 297.9°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #B293F2 |
|---|---|
| RGB | rgb(178, 147, 242) |
| HSL | hsl(260, 79%, 76%) |
| HSV | hsv(260, 39%, 95%) |
| CMYK | cmyk(26.4%, 39.3%, 0%, 5.1%) |
| CIE-LAB | lab(67.08, 31.05, -43.55) |
| CIE-LCH | lch(67.08, 53.49, 305.49°) |
| OKLab | oklab(72.86% 0.0644 -0.1215) |
| OKLCH | oklch(72.86% 0.138 297.9) |
| XYZ | xyz(44.8171, 36.7429, 88.7181) |
| Luminance | 0.3674 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 4.10
Baby Purple
#CA9BF7
ΔE00 4.91
Pastel Purple
#CAA0FF
ΔE00 4.99
Lavender (survey)
#C79FEF
ΔE00 5.53
Lilac (survey)
#CEA2FD
ΔE00 5.90
Lavender
#B39DDB
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B293F2 #D3F293
analogous
#93A4F2 #B293F2 #E293F2
triadic
#B293F2 #F2B293 #93F2B2
tetradic
#B293F2 #F293A4 #D3F293 #93F2E2
square
#B293F2 #F293A4 #D3F293 #93F2E2
split-complementary
#B293F2 #F2E293 #A4F293
monochromatic
#6426E5 #8B5CEB #B293F2 #D9CAF9 #ECE4FC
Accessibility & contrast
On white
2.52
#B293F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.35
#B293F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B293F2
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B293F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B293F2 | 1.00 | 2.52 | 8.35 | 8.35 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7AA3F6
Deuteranopia (green-blind)
#7FA2F0
Tritanopia (blue-blind)
#A5A3B7
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b293f2; /* rgb */ color: rgb(178, 147, 242); /* oklch */ color: oklch(72.9% 0.138 297.9);
Tailwind
colors: {
custom: {
50: '#cbb3f6',
500: '#b293f2',
950: '#000000',
},
}SCSS
$custom: #b293f2; $custom-light: #cbb3f6; $custom-dark: #000000;
JSON
{
"hex": "#b293f2",
"rgb": {
"r": 178,
"g": 147,
"b": 242
},
"hsl": {
"h": 259.579,
"s": 78.512,
"l": 76.275
},
"oklch": {
"l": 0.7286,
"c": 0.13752,
"h": 297.9
},
"luminance": 0.36743
}Semantic roles & 50–950 ramp
primary
#B293F2
secondary
#EAF4D7
accent
#DB0B97
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#131117
muted
#828085