#B481F2#B481F2
#B481F2 is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.0% C 0.166 H 303.2°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #B481F2 |
|---|---|
| RGB | rgb(180, 129, 242) |
| HSL | hsl(267, 81%, 73%) |
| HSV | hsv(267, 47%, 95%) |
| CMYK | cmyk(25.6%, 46.7%, 0%, 5.1%) |
| CIE-LAB | lab(63.19, 41.60, -49.68) |
| CIE-LCH | lch(63.19, 64.79, 309.94°) |
| OKLab | oklab(69.97% 0.0911 -0.1392) |
| OKLCH | oklch(69.97% 0.166 303.2) |
| XYZ | xyz(42.6962, 31.8147, 87.8787) |
| Luminance | 0.3181 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.19
Liliac
#C48EFD
ΔE00 4.12
Easter Purple
#C071FE
ΔE00 4.47
Light Urple
#B36FF6
ΔE00 4.49
Baby Purple
#CA9BF7
ΔE00 7.46
Bright Lavender
#C760FF
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B481F2 #BFF281
analogous
#8186F2 #B481F2 #ED81F2
triadic
#B481F2 #F2B481 #81F2B4
tetradic
#B481F2 #F28186 #BFF281 #81F2ED
square
#B481F2 #F28186 #BFF281 #81F2ED
split-complementary
#B481F2 #F2ED81 #86F281
monochromatic
#7217E1 #934AEC #B481F2 #D5B8F8 #EEE3FC
Accessibility & contrast
On white
2.85
#B481F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.36
#B481F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B481F2
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B481F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B481F2 | 1.00 | 2.85 | 7.36 | 7.36 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6198F6
Deuteranopia (green-blind)
#6D99EF
Tritanopia (blue-blind)
#A995AE
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b481f2; /* rgb */ color: rgb(180, 129, 242); /* oklch */ color: oklch(70.0% 0.166 303.2);
Tailwind
colors: {
custom: {
50: '#cda6f7',
500: '#b481f2',
950: '#000000',
},
}SCSS
$custom: #b481f2; $custom-light: #cda6f7; $custom-dark: #000000;
JSON
{
"hex": "#b481f2",
"rgb": {
"r": 180,
"g": 129,
"b": 242
},
"hsl": {
"h": 267.08,
"s": 81.295,
"l": 72.745
},
"oklch": {
"l": 0.69971,
"c": 0.16635,
"h": 303.2
},
"luminance": 0.31815
}Semantic roles & 50–950 ramp
primary
#B481F2
secondary
#E7F4D7
accent
#DE087D
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85