#B57AF7#B57AF7
#B57AF7 is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.2% C 0.183 H 303.8°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #B57AF7 |
|---|---|
| RGB | rgb(181, 122, 247) |
| HSL | hsl(268, 89%, 72%) |
| HSV | hsv(268, 51%, 97%) |
| CMYK | cmyk(26.7%, 50.6%, 0%, 3.1%) |
| CIE-LAB | lab(62.05, 46.83, -54.24) |
| CIE-LCH | lch(62.05, 71.66, 310.81°) |
| OKLab | oklab(69.23% 0.102 -0.1525) |
| OKLCH | oklch(69.23% 0.183 303.8) |
| XYZ | xyz(42.8004, 30.4583, 91.6019) |
| Luminance | 0.3046 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.07
Light Urple
#B36FF6
ΔE00 2.66
Easter Purple
#C071FE
ΔE00 2.76
Liliac
#C48EFD
ΔE00 5.44
Bright Lavender
#C760FF
ΔE00 5.89
Bright Lilac
#C95EFB
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B57AF7 #BCF77A
analogous
#7A7EF7 #B57AF7 #F37AF7
triadic
#B57AF7 #F7B57A #7AF7B5
tetradic
#B57AF7 #F77A7E #BCF77A #7AF7F3
square
#B57AF7 #F77A7E #BCF77A #7AF7F3
split-complementary
#B57AF7 #F7F37A #7EF77A
monochromatic
#750EE9 #9540F4 #B57AF7 #D5B4FA #EFE2FD
Accessibility & contrast
On white
2.96
#B57AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.09
#B57AF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B57AF7
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B57AF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B57AF7 | 1.00 | 2.96 | 7.09 | 7.09 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5294FB
Deuteranopia (green-blind)
#6396F4
Tritanopia (blue-blind)
#A991AD
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b57af7; /* rgb */ color: rgb(181, 122, 247); /* oklch */ color: oklch(69.2% 0.183 303.8);
Tailwind
colors: {
custom: {
50: '#cea2fa',
500: '#b57af7',
950: '#000000',
},
}SCSS
$custom: #b57af7; $custom-light: #cea2fa; $custom-dark: #000000;
JSON
{
"hex": "#b57af7",
"rgb": {
"r": 181,
"g": 122,
"b": 247
},
"hsl": {
"h": 268.32,
"s": 88.652,
"l": 72.353
},
"oklch": {
"l": 0.69227,
"c": 0.18344,
"h": 303.8
},
"luminance": 0.30458
}Semantic roles & 50–950 ramp
primary
#B57AF7
secondary
#E6F5D6
accent
#E50079
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85