#B481F6#B481F6
#B481F6 is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.2% C 0.171 H 302.3°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #B481F6 |
|---|---|
| RGB | rgb(180, 129, 246) |
| HSL | hsl(266, 87%, 74%) |
| HSV | hsv(266, 48%, 96%) |
| CMYK | cmyk(26.8%, 47.6%, 0%, 3.5%) |
| CIE-LAB | lab(63.39, 42.54, -51.56) |
| CIE-LCH | lch(63.39, 66.84, 309.52°) |
| OKLab | oklab(70.19% 0.0916 -0.1447) |
| OKLCH | oklch(70.19% 0.171 302.3) |
| XYZ | xyz(43.3035, 32.0576, 91.0773) |
| Luminance | 0.3206 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.23
Liliac
#C48EFD
ΔE00 4.12
Easter Purple
#C071FE
ΔE00 4.32
Light Urple
#B36FF6
ΔE00 4.40
Bright Lavender
#C760FF
ΔE00 7.57
Baby Purple
#CA9BF7
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B481F6 #C3F681
analogous
#8188F6 #B481F6 #EF81F6
triadic
#B481F6 #F6B481 #81F6B4
tetradic
#B481F6 #F68188 #C3F681 #81F6EF
square
#B481F6 #F68188 #C3F681 #81F6EF
split-complementary
#B481F6 #F6EF81 #88F681
monochromatic
#7011EC #9248F2 #B481F6 #D6BAFA #EEE2FD
Accessibility & contrast
On white
2.83
#B481F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.41
#B481F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B481F6
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B481F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B481F6 | 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)
#5E99FA
Deuteranopia (green-blind)
#6B99F3
Tritanopia (blue-blind)
#A896B0
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b481f6; /* rgb */ color: rgb(180, 129, 246); /* oklch */ color: oklch(70.2% 0.171 302.3);
Tailwind
colors: {
custom: {
50: '#cda6fa',
500: '#b481f6',
950: '#000000',
},
}SCSS
$custom: #b481f6; $custom-light: #cda6fa; $custom-dark: #000000;
JSON
{
"hex": "#b481f6",
"rgb": {
"r": 180,
"g": 129,
"b": 246
},
"hsl": {
"h": 266.154,
"s": 86.667,
"l": 73.529
},
"oklch": {
"l": 0.70187,
"c": 0.17123,
"h": 302.3
},
"luminance": 0.32058
}Semantic roles & 50–950 ramp
primary
#B481F6
secondary
#E7F5D6
accent
#E30281
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85