#B57EF2#B57EF2
#B57EF2 is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.6% C 0.171 H 304.2°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #B57EF2 |
|---|---|
| RGB | rgb(181, 126, 242) |
| HSL | hsl(268, 82%, 72%) |
| HSV | hsv(268, 48%, 95%) |
| CMYK | cmyk(25.2%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(62.64, 43.50, -50.54) |
| CIE-LCH | lch(62.64, 66.68, 310.72°) |
| OKLab | oklab(69.58% 0.0963 -0.1417) |
| OKLCH | oklch(69.58% 0.171 304.2) |
| XYZ | xyz(42.5405, 31.1564, 87.7599) |
| Luminance | 0.3116 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.48
Easter Purple
#C071FE
ΔE00 3.75
Light Urple
#B36FF6
ΔE00 3.76
Liliac
#C48EFD
ΔE00 4.60
Bright Lavender
#C760FF
ΔE00 6.87
Bright Lilac
#C95EFB
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B57EF2 #BBF27E
analogous
#7E81F2 #B57EF2 #EF7EF2
triadic
#B57EF2 #F2B57E #7EF2B5
tetradic
#B57EF2 #F27E81 #BBF27E #7EF2EF
square
#B57EF2 #F27E81 #BBF27E #7EF2EF
split-complementary
#B57EF2 #F2EF7E #81F27E
monochromatic
#7616DF #9546EC #B57EF2 #D5B6F8 #EFE3FC
Accessibility & contrast
On white
2.90
#B57EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#B57EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B57EF2
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B57EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B57EF2 | 1.00 | 2.90 | 7.23 | 7.23 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C96F6
Deuteranopia (green-blind)
#6B98EF
Tritanopia (blue-blind)
#AB92AD
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b57ef2; /* rgb */ color: rgb(181, 126, 242); /* oklch */ color: oklch(69.6% 0.171 304.2);
Tailwind
colors: {
custom: {
50: '#cea4f7',
500: '#b57ef2',
950: '#000000',
},
}SCSS
$custom: #b57ef2; $custom-light: #cea4f7; $custom-dark: #000000;
JSON
{
"hex": "#b57ef2",
"rgb": {
"r": 181,
"g": 126,
"b": 242
},
"hsl": {
"h": 268.448,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.69584,
"c": 0.1713,
"h": 304.2
},
"luminance": 0.31156
}Semantic roles & 50–950 ramp
primary
#B57EF2
secondary
#E6F4D7
accent
#DE0778
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85