#B57AFC#B57AFC
#B57AFC is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.5% C 0.189 H 302.7°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #B57AFC |
|---|---|
| RGB | rgb(181, 122, 252) |
| HSL | hsl(267, 96%, 73%) |
| HSV | hsv(267, 52%, 99%) |
| CMYK | cmyk(28.2%, 51.6%, 0%, 1.2%) |
| CIE-LAB | lab(62.31, 48.00, -56.57) |
| CIE-LCH | lch(62.31, 74.19, 310.32°) |
| OKLab | oklab(69.51% 0.1024 -0.1593) |
| OKLCH | oklch(69.51% 0.189 302.7) |
| XYZ | xyz(43.5823, 30.7711, 95.7200) |
| Luminance | 0.3077 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.45
Easter Purple
#C071FE
ΔE00 2.75
Light Urple
#B36FF6
ΔE00 2.77
Liliac
#C48EFD
ΔE00 5.53
Bright Lavender
#C760FF
ΔE00 5.91
Bright Lilac
#C95EFB
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B57AFC #C1FC7A
analogous
#7A80FC #B57AFC #F67AFC
triadic
#B57AFC #FCB57A #7AFCB5
tetradic
#B57AFC #FC7A80 #C1FC7A #7AFCF6
square
#B57AFC #FC7A80 #C1FC7A #7AFCF6
split-complementary
#B57AFC #FCF67A #80FC7A
monochromatic
#7306F6 #943EFB #B57AFC #D6B6FD #EEE1FE
Accessibility & contrast
On white
2.94
#B57AFC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.15
#B57AFC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B57AFC
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B57AFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B57AFC | 1.00 | 2.94 | 7.15 | 7.15 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E95FF
Deuteranopia (green-blind)
#5F96F9
Tritanopia (blue-blind)
#A892B0
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b57afc; /* rgb */ color: rgb(181, 122, 252); /* oklch */ color: oklch(69.5% 0.189 302.7);
Tailwind
colors: {
custom: {
50: '#cea2fe',
500: '#b57afc',
950: '#000000',
},
}SCSS
$custom: #b57afc; $custom-light: #cea2fe; $custom-dark: #000000;
JSON
{
"hex": "#b57afc",
"rgb": {
"r": 181,
"g": 122,
"b": 252
},
"hsl": {
"h": 267.231,
"s": 95.588,
"l": 73.333
},
"oklch": {
"l": 0.69511,
"c": 0.18934,
"h": 302.7
},
"luminance": 0.30771
}Semantic roles & 50–950 ramp
primary
#B57AFC
secondary
#E7F7D4
accent
#E6007D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86