#B57BFC#B57BFC
#B57BFC is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.7% C 0.188 H 302.6°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #B57BFC |
|---|---|
| RGB | rgb(181, 123, 252) |
| HSL | hsl(267, 96%, 74%) |
| HSV | hsv(267, 51%, 99%) |
| CMYK | cmyk(28.2%, 51.2%, 0%, 1.2%) |
| CIE-LAB | lab(62.52, 47.47, -56.24) |
| CIE-LCH | lch(62.52, 73.59, 310.17°) |
| OKLab | oklab(69.67% 0.1011 -0.1583) |
| OKLCH | oklch(69.67% 0.188 302.6) |
| XYZ | xyz(43.7058, 31.0179, 95.7611) |
| Luminance | 0.3102 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.53
Easter Purple
#C071FE
ΔE00 2.93
Light Urple
#B36FF6
ΔE00 3.00
Liliac
#C48EFD
ΔE00 5.32
Bright Lavender
#C760FF
ΔE00 6.12
Bright Lilac
#C95EFB
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B57BFC #C2FC7B
analogous
#7B81FC #B57BFC #F67BFC
triadic
#B57BFC #FCB57B #7BFCB5
tetradic
#B57BFC #FC7B81 #C2FC7B #7BFCF6
square
#B57BFC #FC7B81 #C2FC7B #7BFCF6
split-complementary
#B57BFC #FCF67B #81FC7B
monochromatic
#7206F7 #933FFB #B57BFC #D7B7FD #EEE1FE
Accessibility & contrast
On white
2.92
#B57BFC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.20
#B57BFC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B57BFC
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B57BFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B57BFC | 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)
#5096FF
Deuteranopia (green-blind)
#6197F9
Tritanopia (blue-blind)
#A893B0
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b57bfc; /* rgb */ color: rgb(181, 123, 252); /* oklch */ color: oklch(69.7% 0.188 302.6);
Tailwind
colors: {
custom: {
50: '#cea3fe',
500: '#b57bfc',
950: '#000000',
},
}SCSS
$custom: #b57bfc; $custom-light: #cea3fe; $custom-dark: #000000;
JSON
{
"hex": "#b57bfc",
"rgb": {
"r": 181,
"g": 123,
"b": 252
},
"hsl": {
"h": 266.977,
"s": 95.556,
"l": 73.529
},
"oklch": {
"l": 0.69666,
"c": 0.18784,
"h": 302.6
},
"luminance": 0.31018
}Semantic roles & 50–950 ramp
primary
#B57BFC
secondary
#E7F7D4
accent
#E6007E
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86