#B541F0#B541F0
#B541F0 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.6% C 0.252 H 311.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #B541F0 |
|---|---|
| RGB | rgb(181, 65, 240) |
| HSL | hsl(280, 85%, 60%) |
| HSV | hsv(280, 73%, 94%) |
| CMYK | cmyk(24.6%, 72.9%, 0%, 5.9%) |
| CIE-LAB | lab(51.72, 72.10, -66.91) |
| CIE-LCH | lch(51.72, 98.37, 317.14°) |
| OKLab | oklab(61.6% 0.1669 -0.1894) |
| OKLCH | oklch(61.6% 0.252 311.4) |
| XYZ | xyz(36.6716, 19.8966, 84.3298) |
| Luminance | 0.1990 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.22
Neon Purple
#BC13FE
ΔE00 3.71
Bright Purple
#BE03FD
ΔE00 4.06
Hot Purple
#CB00F5
ΔE00 4.16
Lighter Purple
#A55AF4
ΔE00 4.75
Electric Purple
#AA23FF
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B541F0 #7CF041
analogous
#5D41F0 #B541F0 #F041D4
triadic
#B541F0 #F0B541 #41F0B5
tetradic
#B541F0 #F05D41 #7CF041 #41D4F0
square
#B541F0 #F05D41 #7CF041 #41D4F0
split-complementary
#B541F0 #D4F041 #41F05D
monochromatic
#750DA9 #9C12E2 #B541F0 #CB7AF4 #E1B2F9
Accessibility & contrast
On white
4.22
#B541F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#B541F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B541F0
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B541F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B541F0 | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076F5
Deuteranopia (green-blind)
#237DEC
Tritanopia (blue-blind)
#AD6996
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #b541f0; /* rgb */ color: rgb(181, 65, 240); /* oklch */ color: oklch(61.6% 0.252 311.4);
Tailwind
colors: {
custom: {
50: '#d080f6',
500: '#b541f0',
950: '#000000',
},
}SCSS
$custom: #b541f0; $custom-light: #d080f6; $custom-dark: #000000;
JSON
{
"hex": "#b541f0",
"rgb": {
"r": 181,
"g": 65,
"b": 240
},
"hsl": {
"h": 279.771,
"s": 85.366,
"l": 59.804
},
"oklch": {
"l": 0.61597,
"c": 0.25239,
"h": 311.4
},
"luminance": 0.19896
}Semantic roles & 50–950 ramp
primary
#B541F0
secondary
#BBE8A5
accent
#FC2C72
background
#FDF8FF
surface
#FAEFFF
border
#D3CAD7
text
#150B17
muted
#837C85