#B57AE2#B57AE2
#B57AE2 is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.1% C 0.159 H 308.9°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #B57AE2 |
|---|---|
| RGB | rgb(181, 122, 226) |
| HSL | hsl(274, 64%, 68%) |
| HSV | hsv(274, 46%, 89%) |
| CMYK | cmyk(19.9%, 46%, 0%, 11.4%) |
| CIE-LAB | lab(60.99, 42.04, -44.27) |
| CIE-LCH | lch(60.99, 61.05, 313.52°) |
| OKLab | oklab(68.09% 0.0997 -0.1234) |
| OKLCH | oklch(68.09% 0.159 308.9) |
| XYZ | xyz(39.7404, 29.2343, 75.4860) |
| Luminance | 0.2923 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.30
Light Urple
#B36FF6
ΔE00 4.44
Easter Purple
#C071FE
ΔE00 4.76
Wisteria
#A87DC2
ΔE00 6.19
Liliac
#C48EFD
ΔE00 6.20
Bright Lavender
#C760FF
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B57AE2 #A7E27A
analogous
#817AE2 #B57AE2 #E27ADB
triadic
#B57AE2 #E2B57A #7AE2B5
tetradic
#B57AE2 #E2817A #A7E27A #7ADBE2
square
#B57AE2 #E2817A #A7E27A #7ADBE2
split-complementary
#B57AE2 #DBE27A #7AE281
monochromatic
#7B28B9 #9948D7 #B57AE2 #D1ACED #EDDEF8
Accessibility & contrast
On white
3.07
#B57AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.85
#B57AE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B57AE2
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B57AE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B57AE2 | 1.00 | 3.07 | 6.85 | 6.85 |
| #FFFFFF | 3.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6191E6
Deuteranopia (green-blind)
#7194DF
Tritanopia (blue-blind)
#AF8BA3
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #b57ae2; /* rgb */ color: rgb(181, 122, 226); /* oklch */ color: oklch(68.1% 0.159 308.9);
Tailwind
colors: {
custom: {
50: '#cda2eb',
500: '#b57ae2',
950: '#000000',
},
}SCSS
$custom: #b57ae2; $custom-light: #cda2eb; $custom-dark: #000000;
JSON
{
"hex": "#b57ae2",
"rgb": {
"r": 181,
"g": 122,
"b": 226
},
"hsl": {
"h": 274.038,
"s": 64.198,
"l": 68.235
},
"oklch": {
"l": 0.68094,
"c": 0.15867,
"h": 308.9
},
"luminance": 0.29234
}Semantic roles & 50–950 ramp
primary
#B57AE2
secondary
#DAECCC
accent
#CC1967
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#140F16
muted
#827F84