#B57AEB#B57AEB
#B57AEB is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.6% C 0.169 H 306.6°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #B57AEB |
|---|---|
| RGB | rgb(181, 122, 235) |
| HSL | hsl(271, 74%, 70%) |
| HSV | hsv(271, 48%, 92%) |
| CMYK | cmyk(23%, 48.1%, 0%, 7.8%) |
| CIE-LAB | lab(61.43, 44.06, -48.58) |
| CIE-LCH | lch(61.43, 65.59, 312.21°) |
| OKLab | oklab(68.57% 0.1008 -0.136) |
| OKLCH | oklch(68.57% 0.169 306.6) |
| XYZ | xyz(41.0079, 29.7413, 82.1615) |
| Luminance | 0.2974 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.23
Light Urple
#B36FF6
ΔE00 3.32
Easter Purple
#C071FE
ΔE00 3.60
Liliac
#C48EFD
ΔE00 5.63
Bright Lavender
#C760FF
ΔE00 6.28
Bright Lilac
#C95EFB
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B57AEB #B0EB7A
analogous
#7C7AEB #B57AEB #EB7AE9
triadic
#B57AEB #EBB57A #7AEBB5
tetradic
#B57AEB #EB7C7A #B0EB7A #7AE9EB
square
#B57AEB #EB7C7A #B0EB7A #7AE9EB
split-complementary
#B57AEB #E9EB7A #7AEB7C
monochromatic
#791FCC #9745E3 #B57AEB #D3AFF3 #F0E4FB
Accessibility & contrast
On white
3.02
#B57AEB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.95
#B57AEB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B57AEB
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B57AEB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B57AEB | 1.00 | 3.02 | 6.95 | 6.95 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B92EF
Deuteranopia (green-blind)
#6B95E8
Tritanopia (blue-blind)
#AD8DA8
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b57aeb; /* rgb */ color: rgb(181, 122, 235); /* oklch */ color: oklch(68.6% 0.169 306.6);
Tailwind
colors: {
custom: {
50: '#cda2f2',
500: '#b57aeb',
950: '#000000',
},
}SCSS
$custom: #b57aeb; $custom-light: #cda2f2; $custom-dark: #000000;
JSON
{
"hex": "#b57aeb",
"rgb": {
"r": 181,
"g": 122,
"b": 235
},
"hsl": {
"h": 271.327,
"s": 73.856,
"l": 70
},
"oklch": {
"l": 0.68568,
"c": 0.16927,
"h": 306.6
},
"luminance": 0.29741
}Semantic roles & 50–950 ramp
primary
#B57AEB
secondary
#E0F0D1
accent
#D6106E
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85