#B181EF#B181EF
#B181EF is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.5% C 0.162 H 302.5°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #B181EF |
|---|---|
| RGB | rgb(177, 129, 239) |
| HSL | hsl(266, 77%, 72%) |
| HSV | hsv(266, 46%, 94%) |
| CMYK | cmyk(25.9%, 46%, 0%, 6.3%) |
| CIE-LAB | lab(62.74, 40.09, -48.75) |
| CIE-LCH | lch(62.74, 63.11, 309.43°) |
| OKLab | oklab(69.52% 0.0871 -0.1366) |
| OKLCH | oklch(69.52% 0.162 302.5) |
| XYZ | xyz(41.5583, 31.2796, 85.4928) |
| Luminance | 0.3128 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.63
Liliac
#C48EFD
ΔE00 4.52
Light Urple
#B36FF6
ΔE00 4.62
Easter Purple
#C071FE
ΔE00 4.89
Mediumpurple
#9370DB
ΔE00 7.26
Baby Purple
#CA9BF7
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B181EF #BFEF81
analogous
#8188EF #B181EF #E881EF
triadic
#B181EF #EFB181 #81EFB1
tetradic
#B181EF #EF8188 #BFEF81 #81EFE8
square
#B181EF #EF8188 #BFEF81 #81EFE8
split-complementary
#B181EF #EFE881 #88EF81
monochromatic
#6F1CDA #8F4BE8 #B181EF #D3B7F6 #EEE4FC
Accessibility & contrast
On white
2.89
#B181EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#B181EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B181EF
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B181EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B181EF | 1.00 | 2.89 | 7.26 | 7.26 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6297F3
Deuteranopia (green-blind)
#6D97EC
Tritanopia (blue-blind)
#A694AD
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b181ef; /* rgb */ color: rgb(177, 129, 239); /* oklch */ color: oklch(69.5% 0.162 302.5);
Tailwind
colors: {
custom: {
50: '#cba6f5',
500: '#b181ef',
950: '#000000',
},
}SCSS
$custom: #b181ef; $custom-light: #cba6f5; $custom-dark: #000000;
JSON
{
"hex": "#b181ef",
"rgb": {
"r": 177,
"g": 129,
"b": 239
},
"hsl": {
"h": 266.182,
"s": 77.465,
"l": 72.157
},
"oklch": {
"l": 0.6952,
"c": 0.16199,
"h": 302.5
},
"luminance": 0.3128
}Semantic roles & 50–950 ramp
primary
#B181EF
secondary
#E7F3D8
accent
#DA0C80
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#130F17
muted
#827F85