#B57CF8#B57CF8
#B57CF8 is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.6% C 0.182 H 303.2°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #B57CF8 |
|---|---|
| RGB | rgb(181, 124, 248) |
| HSL | hsl(268, 90%, 73%) |
| HSV | hsv(268, 50%, 97%) |
| CMYK | cmyk(27%, 50%, 0%, 2.7%) |
| CIE-LAB | lab(62.52, 45.99, -54.04) |
| CIE-LCH | lch(62.52, 70.96, 310.40°) |
| OKLab | oklab(69.6% 0.0995 -0.1519) |
| OKLCH | oklch(69.6% 0.182 303.2) |
| XYZ | xyz(43.2032, 31.0164, 92.4995) |
| Luminance | 0.3102 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.33
Easter Purple
#C071FE
ΔE00 3.12
Light Urple
#B36FF6
ΔE00 3.15
Liliac
#C48EFD
ΔE00 5.03
Bright Lavender
#C760FF
ΔE00 6.33
Bright Lilac
#C95EFB
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B57CF8 #BFF87C
analogous
#7C81F8 #B57CF8 #F37CF8
triadic
#B57CF8 #F8B57C #7CF8B5
tetradic
#B57CF8 #F87C81 #BFF87C #7CF8F3
square
#B57CF8 #F87C81 #BFF87C #7CF8F3
split-complementary
#B57CF8 #F8F37C #81F87C
monochromatic
#740DED #9442F5 #B57CF8 #D6B6FB #EFE2FD
Accessibility & contrast
On white
2.92
#B57CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.20
#B57CF8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B57CF8
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B57CF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B57CF8 | 1.00 | 2.92 | 7.20 | 7.20 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5596FC
Deuteranopia (green-blind)
#6597F5
Tritanopia (blue-blind)
#A993AF
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b57cf8; /* rgb */ color: rgb(181, 124, 248); /* oklch */ color: oklch(69.6% 0.182 303.2);
Tailwind
colors: {
custom: {
50: '#cea3fb',
500: '#b57cf8',
950: '#000000',
},
}SCSS
$custom: #b57cf8; $custom-light: #cea3fb; $custom-dark: #000000;
JSON
{
"hex": "#b57cf8",
"rgb": {
"r": 181,
"g": 124,
"b": 248
},
"hsl": {
"h": 267.581,
"s": 89.855,
"l": 72.941
},
"oklch": {
"l": 0.69596,
"c": 0.18158,
"h": 303.2
},
"luminance": 0.31016
}Semantic roles & 50–950 ramp
primary
#B57CF8
secondary
#E7F6D5
accent
#E6007C
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85