#B57CF5#B57CF5
#B57CF5 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.4% C 0.178 H 303.9°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #B57CF5 |
|---|---|
| RGB | rgb(181, 124, 245) |
| HSL | hsl(268, 86%, 72%) |
| HSV | hsv(268, 49%, 96%) |
| CMYK | cmyk(26.1%, 49.4%, 0%, 3.9%) |
| CIE-LAB | lab(62.37, 45.28, -52.63) |
| CIE-LCH | lch(62.37, 69.43, 310.71°) |
| OKLab | oklab(69.43% 0.0992 -0.1478) |
| OKLCH | oklch(69.43% 0.178 303.9) |
| XYZ | xyz(42.7416, 30.8318, 90.0679) |
| Luminance | 0.3083 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.20
Light Urple
#B36FF6
ΔE00 3.17
Easter Purple
#C071FE
ΔE00 3.20
Liliac
#C48EFD
ΔE00 5.00
Bright Lavender
#C760FF
ΔE00 6.36
Bright Lilac
#C95EFB
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B57CF5 #BCF57C
analogous
#7C80F5 #B57CF5 #F17CF5
triadic
#B57CF5 #F5B57C #7CF5B5
tetradic
#B57CF5 #F57C80 #BCF57C #7CF5F1
square
#B57CF5 #F57C80 #BCF57C #7CF5F1
split-complementary
#B57CF5 #F5F17C #80F57C
monochromatic
#7511E5 #9543F1 #B57CF5 #D5B5F9 #EFE3FD
Accessibility & contrast
On white
2.93
#B57CF5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#B57CF5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B57CF5
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B57CF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B57CF5 | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5795F9
Deuteranopia (green-blind)
#6797F2
Tritanopia (blue-blind)
#AA92AD
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b57cf5; /* rgb */ color: rgb(181, 124, 245); /* oklch */ color: oklch(69.4% 0.178 303.9);
Tailwind
colors: {
custom: {
50: '#cea3f9',
500: '#b57cf5',
950: '#000000',
},
}SCSS
$custom: #b57cf5; $custom-light: #cea3f9; $custom-dark: #000000;
JSON
{
"hex": "#b57cf5",
"rgb": {
"r": 181,
"g": 124,
"b": 245
},
"hsl": {
"h": 268.264,
"s": 85.816,
"l": 72.353
},
"oklch": {
"l": 0.69429,
"c": 0.178,
"h": 303.9
},
"luminance": 0.30832
}Semantic roles & 50–950 ramp
primary
#B57CF5
secondary
#E6F5D6
accent
#E20379
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85