#B481EA#B481EA
#B481EA is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.5% C 0.157 H 305.1°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #B481EA |
|---|---|
| RGB | rgb(180, 129, 234) |
| HSL | hsl(269, 71%, 71%) |
| HSV | hsv(269, 45%, 92%) |
| CMYK | cmyk(23.1%, 44.9%, 0%, 8.2%) |
| CIE-LAB | lab(62.80, 39.74, -45.87) |
| CIE-LCH | lch(62.80, 60.69, 310.90°) |
| OKLab | oklab(69.55% 0.09 -0.1281) |
| OKLCH | oklch(69.55% 0.157 305.1) |
| XYZ | xyz(41.5208, 31.3445, 81.6887) |
| Luminance | 0.3134 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.50
Liliac
#C48EFD
ΔE00 4.43
Light Urple
#B36FF6
ΔE00 4.97
Easter Purple
#C071FE
ΔE00 5.04
Pale Purple
#B790D4
ΔE00 6.93
Wisteria
#A87DC2
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B481EA #B7EA81
analogous
#8182EA #B481EA #E981EA
triadic
#B481EA #EAB481 #81EAB4
tetradic
#B481EA #EA8182 #B7EA81 #81EAE9
square
#B481EA #EA8182 #B7EA81 #81EAE9
split-complementary
#B481EA #EAE981 #82EA81
monochromatic
#7622CE #954DE1 #B481EA #D3B5F3 #EFE5FB
Accessibility & contrast
On white
2.89
#B481EA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.27
#B481EA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B481EA
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B481EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B481EA | 1.00 | 2.89 | 7.27 | 7.27 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6696EE
Deuteranopia (green-blind)
#7298E7
Tritanopia (blue-blind)
#AB93AA
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b481ea; /* rgb */ color: rgb(180, 129, 234); /* oklch */ color: oklch(69.5% 0.157 305.1);
Tailwind
colors: {
custom: {
50: '#cca6f1',
500: '#b481ea',
950: '#000000',
},
}SCSS
$custom: #b481ea; $custom-light: #cca6f1; $custom-dark: #000000;
JSON
{
"hex": "#b481ea",
"rgb": {
"r": 180,
"g": 129,
"b": 234
},
"hsl": {
"h": 269.143,
"s": 71.429,
"l": 71.176
},
"oklch": {
"l": 0.6955,
"c": 0.15659,
"h": 305.1
},
"luminance": 0.31344
}Semantic roles & 50–950 ramp
primary
#B481EA
secondary
#E4F1D6
accent
#D31276
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85