#B57BFE#B57BFE
#B57BFE is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.8% C 0.190 H 302.2°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #B57BFE |
|---|---|
| RGB | rgb(181, 123, 254) |
| HSL | hsl(267, 98%, 74%) |
| HSV | hsv(267, 52%, 100%) |
| CMYK | cmyk(28.7%, 51.6%, 0%, 0.4%) |
| CIE-LAB | lab(62.63, 47.94, -57.16) |
| CIE-LCH | lch(62.63, 74.60, 309.98°) |
| OKLab | oklab(69.78% 0.1013 -0.161) |
| OKLCH | oklch(69.78% 0.19 302.2) |
| XYZ | xyz(44.0243, 31.1454, 97.4390) |
| Luminance | 0.3115 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.72
Easter Purple
#C071FE
ΔE00 2.97
Light Urple
#B36FF6
ΔE00 3.09
Liliac
#C48EFD
ΔE00 5.39
Bright Lavender
#C760FF
ΔE00 6.15
Bright Lilac
#C95EFB
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B57BFE #C4FE7B
analogous
#7B83FE #B57BFE #F77BFE
triadic
#B57BFE #FEB57B #7BFEB5
tetradic
#B57BFE #FE7B83 #C4FE7B #7BFEF7
square
#B57BFE #FE7B83 #C4FE7B #7BFEF7
split-complementary
#B57BFE #FEF77B #83FE7B
monochromatic
#7102FD #933EFE #B57BFE #D7B8FE #EEE1FF
Accessibility & contrast
On white
2.90
#B57BFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#B57BFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B57BFE
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B57BFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B57BFE | 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)
#4E96FF
Deuteranopia (green-blind)
#5F97FB
Tritanopia (blue-blind)
#A794B1
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b57bfe; /* rgb */ color: rgb(181, 123, 254); /* oklch */ color: oklch(69.8% 0.190 302.2);
Tailwind
colors: {
custom: {
50: '#cea3ff',
500: '#b57bfe',
950: '#000000',
},
}SCSS
$custom: #b57bfe; $custom-light: #cea3ff; $custom-dark: #000000;
JSON
{
"hex": "#b57bfe",
"rgb": {
"r": 181,
"g": 123,
"b": 254
},
"hsl": {
"h": 266.565,
"s": 98.496,
"l": 73.922
},
"oklch": {
"l": 0.6978,
"c": 0.1902,
"h": 302.2
},
"luminance": 0.31145
}Semantic roles & 50–950 ramp
primary
#B57BFE
secondary
#E8F7D4
accent
#E60080
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86