#B57BF6#B57BF6
#B57BF6 is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.3% C 0.181 H 303.8°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B57BF6 |
|---|---|
| RGB | rgb(181, 123, 246) |
| HSL | hsl(268, 87%, 72%) |
| HSV | hsv(268, 50%, 96%) |
| CMYK | cmyk(26.4%, 50%, 0%, 3.5%) |
| CIE-LAB | lab(62.21, 46.06, -53.44) |
| CIE-LCH | lch(62.21, 70.55, 310.76°) |
| OKLab | oklab(69.33% 0.1006 -0.1501) |
| OKLCH | oklch(69.33% 0.181 303.8) |
| XYZ | xyz(42.7699, 30.6436, 90.8325) |
| Luminance | 0.3064 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.11
Light Urple
#B36FF6
ΔE00 2.91
Easter Purple
#C071FE
ΔE00 2.97
Liliac
#C48EFD
ΔE00 5.22
Bright Lavender
#C760FF
ΔE00 6.12
Bright Lilac
#C95EFB
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B57BF6 #BCF67B
analogous
#7B7EF6 #B57BF6 #F37BF6
triadic
#B57BF6 #F6B57B #7BF6B5
tetradic
#B57BF6 #F67B7E #BCF67B #7BF6F3
square
#B57BF6 #F67B7E #BCF67B #7BF6F3
split-complementary
#B57BF6 #F6F37B #7EF67B
monochromatic
#7510E7 #9542F2 #B57BF6 #D5B4FA #EFE2FD
Accessibility & contrast
On white
2.95
#B57BF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.13
#B57BF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B57BF6
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B57BF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B57BF6 | 1.00 | 2.95 | 7.13 | 7.13 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5595FA
Deuteranopia (green-blind)
#6596F3
Tritanopia (blue-blind)
#AA91AD
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b57bf6; /* rgb */ color: rgb(181, 123, 246); /* oklch */ color: oklch(69.3% 0.181 303.8);
Tailwind
colors: {
custom: {
50: '#cea2fa',
500: '#b57bf6',
950: '#000000',
},
}SCSS
$custom: #b57bf6; $custom-light: #cea2fa; $custom-dark: #000000;
JSON
{
"hex": "#b57bf6",
"rgb": {
"r": 181,
"g": 123,
"b": 246
},
"hsl": {
"h": 268.293,
"s": 87.234,
"l": 72.353
},
"oklch": {
"l": 0.69328,
"c": 0.18073,
"h": 303.8
},
"luminance": 0.30643
}Semantic roles & 50–950 ramp
primary
#B57BF6
secondary
#E6F5D6
accent
#E40279
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85