#B481EF#B481EF
#B481EF is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.8% C 0.163 H 303.9°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #B481EF |
|---|---|
| RGB | rgb(180, 129, 239) |
| HSL | hsl(268, 77%, 72%) |
| HSV | hsv(268, 46%, 94%) |
| CMYK | cmyk(24.7%, 46%, 0%, 6.3%) |
| CIE-LAB | lab(63.04, 40.90, -48.26) |
| CIE-LCH | lch(63.04, 63.26, 310.28°) |
| OKLab | oklab(69.81% 0.0907 -0.1351) |
| OKLCH | oklch(69.81% 0.163 303.9) |
| XYZ | xyz(42.2493, 31.6359, 85.5252) |
| Luminance | 0.3164 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.24
Liliac
#C48EFD
ΔE00 4.19
Light Urple
#B36FF6
ΔE00 4.63
Easter Purple
#C071FE
ΔE00 4.64
Baby Purple
#CA9BF7
ΔE00 7.36
Pale Purple
#B790D4
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B481EF #BCEF81
analogous
#8185EF #B481EF #EB81EF
triadic
#B481EF #EFB481 #81EFB4
tetradic
#B481EF #EF8185 #BCEF81 #81EFEB
square
#B481EF #EF8185 #BCEF81 #81EFEB
split-complementary
#B481EF #EFEB81 #85EF81
monochromatic
#741CDA #944BE8 #B481EF #D4B7F6 #EFE4FC
Accessibility & contrast
On white
2.87
#B481EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.33
#B481EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B481EF
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B481EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B481EF | 1.00 | 2.87 | 7.33 | 7.33 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6397F3
Deuteranopia (green-blind)
#6F99EC
Tritanopia (blue-blind)
#AA94AD
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b481ef; /* rgb */ color: rgb(180, 129, 239); /* oklch */ color: oklch(69.8% 0.163 303.9);
Tailwind
colors: {
custom: {
50: '#cda6f5',
500: '#b481ef',
950: '#000000',
},
}SCSS
$custom: #b481ef; $custom-light: #cda6f5; $custom-dark: #000000;
JSON
{
"hex": "#b481ef",
"rgb": {
"r": 180,
"g": 129,
"b": 239
},
"hsl": {
"h": 267.818,
"s": 77.465,
"l": 72.157
},
"oklch": {
"l": 0.69812,
"c": 0.16269,
"h": 303.9
},
"luminance": 0.31636
}Semantic roles & 50–950 ramp
primary
#B481EF
secondary
#E7F3D8
accent
#DA0C7A
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#140F17
muted
#827F85