#B481F0#B481F0
#B481F0 is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.9% C 0.164 H 303.7°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #B481F0 |
|---|---|
| RGB | rgb(180, 129, 240) |
| HSL | hsl(268, 79%, 72%) |
| HSV | hsv(268, 46%, 94%) |
| CMYK | cmyk(25%, 46.3%, 0%, 5.9%) |
| CIE-LAB | lab(63.09, 41.13, -48.73) |
| CIE-LCH | lch(63.09, 63.77, 310.17°) |
| OKLab | oklab(69.86% 0.0908 -0.1364) |
| OKLCH | oklch(69.86% 0.164 303.7) |
| XYZ | xyz(42.3974, 31.6952, 86.3054) |
| Luminance | 0.3170 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.22
Liliac
#C48EFD
ΔE00 4.16
Light Urple
#B36FF6
ΔE00 4.58
Easter Purple
#C071FE
ΔE00 4.58
Baby Purple
#CA9BF7
ΔE00 7.39
Mediumpurple
#9370DB
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B481F0 #BDF081
analogous
#8185F0 #B481F0 #EC81F0
triadic
#B481F0 #F0B481 #81F0B4
tetradic
#B481F0 #F08185 #BDF081 #81F0EC
square
#B481F0 #F08185 #BDF081 #81F0EC
split-complementary
#B481F0 #F0EC81 #85F081
monochromatic
#731ADC #934AE9 #B481F0 #D5B8F7 #EFE4FC
Accessibility & contrast
On white
2.86
#B481F0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.34
#B481F0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B481F0
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B481F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B481F0 | 1.00 | 2.86 | 7.34 | 7.34 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6297F4
Deuteranopia (green-blind)
#6F99ED
Tritanopia (blue-blind)
#AA94AD
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b481f0; /* rgb */ color: rgb(180, 129, 240); /* oklch */ color: oklch(69.9% 0.164 303.7);
Tailwind
colors: {
custom: {
50: '#cda6f5',
500: '#b481f0',
950: '#000000',
},
}SCSS
$custom: #b481f0; $custom-light: #cda6f5; $custom-dark: #000000;
JSON
{
"hex": "#b481f0",
"rgb": {
"r": 180,
"g": 129,
"b": 240
},
"hsl": {
"h": 267.568,
"s": 78.723,
"l": 72.353
},
"oklch": {
"l": 0.69864,
"c": 0.16391,
"h": 303.7
},
"luminance": 0.31695
}Semantic roles & 50–950 ramp
primary
#B481F0
secondary
#E7F4D7
accent
#DB0A7B
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#140F17
muted
#827F85