#B180E8#B180E8
#B180E8 is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.0% C 0.155 H 304.4°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #B180E8 |
|---|---|
| RGB | rgb(177, 128, 232) |
| HSL | hsl(268, 69%, 71%) |
| HSV | hsv(268, 45%, 91%) |
| CMYK | cmyk(23.7%, 44.8%, 0%, 9%) |
| CIE-LAB | lab(62.18, 39.00, -45.76) |
| CIE-LCH | lch(62.18, 60.13, 310.44°) |
| OKLab | oklab(68.99% 0.0875 -0.1279) |
| OKLCH | oklch(68.99% 0.155 304.4) |
| XYZ | xyz(40.4130, 30.6118, 80.1079) |
| Luminance | 0.3061 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.76
Light Urple
#B36FF6
ΔE00 4.85
Liliac
#C48EFD
ΔE00 4.97
Easter Purple
#C071FE
ΔE00 5.20
Wisteria
#A87DC2
ΔE00 6.92
Pale Purple
#B790D4
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B180E8 #B7E880
analogous
#8083E8 #B180E8 #E580E8
triadic
#B180E8 #E8B180 #80E8B1
tetradic
#B180E8 #E88083 #B7E880 #80E8E5
square
#B180E8 #E88083 #B7E880 #80E8E5
split-complementary
#B180E8 #E8E580 #83E880
monochromatic
#7224C9 #914CDF #B180E8 #D1B4F1 #EFE5FA
Accessibility & contrast
On white
2.95
#B180E8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.12
#B180E8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B180E8
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B180E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B180E8 | 1.00 | 2.95 | 7.12 | 7.12 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6595EC
Deuteranopia (green-blind)
#7096E5
Tritanopia (blue-blind)
#A892A9
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b180e8; /* rgb */ color: rgb(177, 128, 232); /* oklch */ color: oklch(69.0% 0.155 304.4);
Tailwind
colors: {
custom: {
50: '#caa6f0',
500: '#b180e8',
950: '#000000',
},
}SCSS
$custom: #b180e8; $custom-light: #caa6f0; $custom-dark: #000000;
JSON
{
"hex": "#b180e8",
"rgb": {
"r": 177,
"g": 128,
"b": 232
},
"hsl": {
"h": 268.269,
"s": 69.333,
"l": 70.588
},
"oklch": {
"l": 0.68985,
"c": 0.15495,
"h": 304.4
},
"luminance": 0.30612
}Semantic roles & 50–950 ramp
primary
#B180E8
secondary
#E3F0D4
accent
#D11478
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F16
muted
#827F84