#B57EF7#B57EF7
#B57EF7 is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.9% C 0.177 H 303.1°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #B57EF7 |
|---|---|
| RGB | rgb(181, 126, 247) |
| HSL | hsl(267, 88%, 73%) |
| HSV | hsv(267, 49%, 97%) |
| CMYK | cmyk(26.7%, 49%, 0%, 3.1%) |
| CIE-LAB | lab(62.89, 44.67, -52.89) |
| CIE-LCH | lch(62.89, 69.23, 310.18°) |
| OKLab | oklab(69.86% 0.0968 -0.1485) |
| OKLCH | oklch(69.86% 0.177 303.1) |
| XYZ | xyz(43.3017, 31.4609, 91.7690) |
| Luminance | 0.3146 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.58
Easter Purple
#C071FE
ΔE00 3.55
Light Urple
#B36FF6
ΔE00 3.64
Liliac
#C48EFD
ΔE00 4.60
Bright Lavender
#C760FF
ΔE00 6.78
Bright Lilac
#C95EFB
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B57EF7 #C0F77E
analogous
#7E83F7 #B57EF7 #F27EF7
triadic
#B57EF7 #F7B57E #7EF7B5
tetradic
#B57EF7 #F77E83 #C0F77E #7EF7F2
square
#B57EF7 #F77E83 #C0F77E #7EF7F2
split-complementary
#B57EF7 #F7F27E #83F77E
monochromatic
#730FEC #9444F3 #B57EF7 #D6B8FB #EEE2FD
Accessibility & contrast
On white
2.88
#B57EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.29
#B57EF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B57EF7
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B57EF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B57EF7 | 1.00 | 2.88 | 7.29 | 7.29 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5997FB
Deuteranopia (green-blind)
#6898F4
Tritanopia (blue-blind)
#A994AF
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b57ef7; /* rgb */ color: rgb(181, 126, 247); /* oklch */ color: oklch(69.9% 0.177 303.1);
Tailwind
colors: {
custom: {
50: '#cea5fa',
500: '#b57ef7',
950: '#000000',
},
}SCSS
$custom: #b57ef7; $custom-light: #cea5fa; $custom-dark: #000000;
JSON
{
"hex": "#b57ef7",
"rgb": {
"r": 181,
"g": 126,
"b": 247
},
"hsl": {
"h": 267.273,
"s": 88.321,
"l": 73.137
},
"oklch": {
"l": 0.69857,
"c": 0.1773,
"h": 303.1
},
"luminance": 0.31461
}Semantic roles & 50–950 ramp
primary
#B57EF7
secondary
#E7F5D6
accent
#E5017D
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85