#B281E8#B281E8
#B281E8 is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.3% C 0.154 H 304.7°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #B281E8 |
|---|---|
| RGB | rgb(178, 129, 232) |
| HSL | hsl(269, 69%, 71%) |
| HSV | hsv(269, 44%, 91%) |
| CMYK | cmyk(23.3%, 44.4%, 0%, 9%) |
| CIE-LAB | lab(62.50, 38.73, -45.25) |
| CIE-LCH | lch(62.50, 59.56, 310.56°) |
| OKLab | oklab(69.25% 0.0873 -0.1264) |
| OKLCH | oklch(69.25% 0.154 304.7) |
| XYZ | xyz(40.7728, 30.9919, 80.1623) |
| Luminance | 0.3099 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.84
Liliac
#C48EFD
ΔE00 4.73
Light Urple
#B36FF6
ΔE00 5.10
Easter Purple
#C071FE
ΔE00 5.34
Pale Purple
#B790D4
ΔE00 6.80
Wisteria
#A87DC2
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B281E8 #B7E881
analogous
#8183E8 #B281E8 #E681E8
triadic
#B281E8 #E8B281 #81E8B2
tetradic
#B281E8 #E88183 #B7E881 #81E8E6
square
#B281E8 #E88183 #B7E881 #81E8E6
split-complementary
#B281E8 #E8E681 #83E881
monochromatic
#7325CA #924DDF #B281E8 #D2B5F1 #EFE5FA
Accessibility & contrast
On white
2.92
#B281E8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.20
#B281E8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B281E8
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B281E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B281E8 | 1.00 | 2.92 | 7.20 | 7.20 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6696EC
Deuteranopia (green-blind)
#7297E5
Tritanopia (blue-blind)
#A992A9
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b281e8; /* rgb */ color: rgb(178, 129, 232); /* oklch */ color: oklch(69.3% 0.154 304.7);
Tailwind
colors: {
custom: {
50: '#cba6f0',
500: '#b281e8',
950: '#000000',
},
}SCSS
$custom: #b281e8; $custom-light: #cba6f0; $custom-dark: #000000;
JSON
{
"hex": "#b281e8",
"rgb": {
"r": 178,
"g": 129,
"b": 232
},
"hsl": {
"h": 268.544,
"s": 69.128,
"l": 70.784
},
"oklch": {
"l": 0.6925,
"c": 0.15361,
"h": 304.7
},
"luminance": 0.30992
}Semantic roles & 50–950 ramp
primary
#B281E8
secondary
#E3F0D5
accent
#D11477
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F16
muted
#827F84