#B181E8#B181E8
#B181E8 is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.2% C 0.153 H 304.2°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #B181E8 |
|---|---|
| RGB | rgb(177, 129, 232) |
| HSL | hsl(268, 69%, 71%) |
| HSV | hsv(268, 44%, 91%) |
| CMYK | cmyk(23.7%, 44.4%, 0%, 9%) |
| CIE-LAB | lab(62.40, 38.45, -45.41) |
| CIE-LCH | lch(62.40, 59.50, 310.26°) |
| OKLab | oklab(69.15% 0.0862 -0.1269) |
| OKLCH | oklch(69.15% 0.153 304.2) |
| XYZ | xyz(40.5441, 30.8740, 80.1516) |
| Luminance | 0.3087 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.94
Liliac
#C48EFD
ΔE00 4.82
Light Urple
#B36FF6
ΔE00 5.09
Easter Purple
#C071FE
ΔE00 5.41
Pale Purple
#B790D4
ΔE00 6.88
Wisteria
#A87DC2
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B181E8 #B8E881
analogous
#8184E8 #B181E8 #E481E8
triadic
#B181E8 #E8B181 #81E8B1
tetradic
#B181E8 #E88184 #B8E881 #81E8E4
square
#B181E8 #E88184 #B8E881 #81E8E4
split-complementary
#B181E8 #E8E481 #84E881
monochromatic
#7225CA #914DDF #B181E8 #D1B5F1 #EFE5FA
Accessibility & contrast
On white
2.93
#B181E8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#B181E8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B181E8
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B181E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B181E8 | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6696EC
Deuteranopia (green-blind)
#7197E5
Tritanopia (blue-blind)
#A892A9
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b181e8; /* rgb */ color: rgb(177, 129, 232); /* oklch */ color: oklch(69.2% 0.153 304.2);
Tailwind
colors: {
custom: {
50: '#caa6f0',
500: '#b181e8',
950: '#000000',
},
}SCSS
$custom: #b181e8; $custom-light: #caa6f0; $custom-dark: #000000;
JSON
{
"hex": "#b181e8",
"rgb": {
"r": 177,
"g": 129,
"b": 232
},
"hsl": {
"h": 267.961,
"s": 69.128,
"l": 70.784
},
"oklch": {
"l": 0.69152,
"c": 0.15335,
"h": 304.2
},
"luminance": 0.30874
}Semantic roles & 50–950 ramp
primary
#B181E8
secondary
#E3F0D5
accent
#D11479
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F16
muted
#827F84