#B582EB#B582EB
#B582EB is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.9% C 0.156 H 305.1°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #B582EB |
|---|---|
| RGB | rgb(181, 130, 235) |
| HSL | hsl(269, 72%, 72%) |
| HSV | hsv(269, 45%, 92%) |
| CMYK | cmyk(23%, 44.7%, 0%, 7.8%) |
| CIE-LAB | lab(63.17, 39.70, -45.84) |
| CIE-LCH | lch(63.17, 60.64, 310.89°) |
| OKLab | oklab(69.87% 0.09 -0.128) |
| OKLCH | oklch(69.87% 0.156 305.1) |
| XYZ | xyz(42.0310, 31.7874, 82.5025) |
| Luminance | 0.3179 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.56
Liliac
#C48EFD
ΔE00 4.12
Easter Purple
#C071FE
ΔE00 5.12
Light Urple
#B36FF6
ΔE00 5.17
Pale Purple
#B790D4
ΔE00 6.82
Baby Purple
#CA9BF7
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B582EB #B8EB82
analogous
#8284EB #B582EB #EA82EB
triadic
#B582EB #EBB582 #82EBB5
tetradic
#B582EB #EB8284 #B8EB82 #82EBEA
square
#B582EB #EB8284 #B8EB82 #82EBEA
split-complementary
#B582EB #EBEA82 #84EB82
monochromatic
#7721D1 #964DE3 #B582EB #D4B7F3 #EFE5FB
Accessibility & contrast
On white
2.85
#B582EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.36
#B582EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B582EB
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B582EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B582EB | 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)
#6797EF
Deuteranopia (green-blind)
#7399E8
Tritanopia (blue-blind)
#AC94AB
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b582eb; /* rgb */ color: rgb(181, 130, 235); /* oklch */ color: oklch(69.9% 0.156 305.1);
Tailwind
colors: {
custom: {
50: '#cda7f2',
500: '#b582eb',
950: '#000000',
},
}SCSS
$custom: #b582eb; $custom-light: #cda7f2; $custom-dark: #000000;
JSON
{
"hex": "#b582eb",
"rgb": {
"r": 181,
"g": 130,
"b": 235
},
"hsl": {
"h": 269.143,
"s": 72.414,
"l": 71.569
},
"oklch": {
"l": 0.69866,
"c": 0.15648,
"h": 305.1
},
"luminance": 0.31787
}Semantic roles & 50–950 ramp
primary
#B582EB
secondary
#E5F2D7
accent
#D41176
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85