#B57EFD#B57EFD
#B57EFD is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.2% C 0.184 H 301.8°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #B57EFD |
|---|---|
| RGB | rgb(181, 126, 253) |
| HSL | hsl(266, 97%, 74%) |
| HSV | hsv(266, 50%, 99%) |
| CMYK | cmyk(28.5%, 50.2%, 0%, 0.8%) |
| CIE-LAB | lab(63.21, 46.08, -55.69) |
| CIE-LCH | lch(63.21, 72.29, 309.61°) |
| OKLab | oklab(70.19% 0.0974 -0.1567) |
| OKLCH | oklch(70.19% 0.184 301.8) |
| XYZ | xyz(44.2425, 31.8372, 96.7238) |
| Luminance | 0.3184 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.96
Easter Purple
#C071FE
ΔE00 3.53
Light Urple
#B36FF6
ΔE00 3.74
Liliac
#C48EFD
ΔE00 4.76
Bright Lavender
#C760FF
ΔE00 6.79
Bright Lilac
#C95EFB
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B57EFD #C6FD7E
analogous
#7E87FD #B57EFD #F47EFD
triadic
#B57EFD #FDB57E #7EFDB5
tetradic
#B57EFD #FD7E87 #C6FD7E #7EFDF4
square
#B57EFD #FD7E87 #C6FD7E #7EFDF4
split-complementary
#B57EFD #FDF47E #87FD7E
monochromatic
#7005FB #9242FC #B57EFD #D8BAFE #EEE1FF
Accessibility & contrast
On white
2.85
#B57EFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.37
#B57EFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B57EFD
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B57EFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B57EFD | 1.00 | 2.85 | 7.37 | 7.37 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5498FF
Deuteranopia (green-blind)
#6399FA
Tritanopia (blue-blind)
#A796B2
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b57efd; /* rgb */ color: rgb(181, 126, 253); /* oklch */ color: oklch(70.2% 0.184 301.8);
Tailwind
colors: {
custom: {
50: '#cea5ff',
500: '#b57efd',
950: '#000000',
},
}SCSS
$custom: #b57efd; $custom-light: #cea5ff; $custom-dark: #000000;
JSON
{
"hex": "#b57efd",
"rgb": {
"r": 181,
"g": 126,
"b": 253
},
"hsl": {
"h": 265.984,
"s": 96.947,
"l": 74.314
},
"oklch": {
"l": 0.70192,
"c": 0.18449,
"h": 301.8
},
"luminance": 0.31837
}Semantic roles & 50–950 ramp
primary
#B57EFD
secondary
#E8F7D4
accent
#E60082
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86