#B186E5#B186E5
#B186E5 is a light, vivid violet. Relative luminance 0.321; OKLCH L 69.8% C 0.141 H 303.8°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #B186E5 |
|---|---|
| RGB | rgb(177, 134, 229) |
| HSL | hsl(267, 65%, 71%) |
| HSV | hsv(267, 41%, 90%) |
| CMYK | cmyk(22.7%, 41.5%, 0%, 10.2%) |
| CIE-LAB | lab(63.39, 34.98, -42.19) |
| CIE-LCH | lch(63.39, 54.81, 309.66°) |
| OKLab | oklab(69.85% 0.0788 -0.1175) |
| OKLCH | oklch(69.85% 0.142 303.8) |
| XYZ | xyz(40.7964, 32.0546, 78.1515) |
| Luminance | 0.3205 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 4.52
Light Purple
#BF77F6
ΔE00 5.24
Pale Purple
#B790D4
ΔE00 5.54
Baby Purple
#CA9BF7
ΔE00 6.49
Wisteria
#A87DC2
ΔE00 6.50
Light Urple
#B36FF6
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B186E5 #BAE586
analogous
#868AE5 #B186E5 #E086E5
triadic
#B186E5 #E5B186 #86E5B1
tetradic
#B186E5 #E5868A #BAE586 #86E5E0
square
#B186E5 #E5868A #BAE586 #86E5E0
split-complementary
#B186E5 #E5E086 #8AE586
monochromatic
#712BC6 #9154DA #B186E5 #D1B8F0 #EFE6FA
Accessibility & contrast
On white
2.83
#B186E5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.41
#B186E5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B186E5
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B186E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B186E5 | 1.00 | 2.83 | 7.41 | 7.41 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E98E9
Deuteranopia (green-blind)
#7899E2
Tritanopia (blue-blind)
#A896AB
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b186e5; /* rgb */ color: rgb(177, 134, 229); /* oklch */ color: oklch(69.8% 0.141 303.8);
Tailwind
colors: {
custom: {
50: '#caaaed',
500: '#b186e5',
950: '#000000',
},
}SCSS
$custom: #b186e5; $custom-light: #caaaed; $custom-dark: #000000;
JSON
{
"hex": "#b186e5",
"rgb": {
"r": 177,
"g": 134,
"b": 229
},
"hsl": {
"h": 267.158,
"s": 64.626,
"l": 71.176
},
"oklch": {
"l": 0.69848,
"c": 0.1415,
"h": 303.8
},
"luminance": 0.32054
}Semantic roles & 50–950 ramp
primary
#B186E5
secondary
#E5F0D7
accent
#CC197B
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84