#B57DFE#B57DFE
#B57DFE is a light, vivid violet. Relative luminance 0.316; OKLCH L 70.1% C 0.187 H 301.8°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #B57DFE |
|---|---|
| RGB | rgb(181, 125, 254) |
| HSL | hsl(266, 98%, 74%) |
| HSV | hsv(266, 51%, 100%) |
| CMYK | cmyk(28.7%, 50.8%, 0%, 0.4%) |
| CIE-LAB | lab(63.05, 46.86, -56.49) |
| CIE-LCH | lch(63.05, 73.40, 309.68°) |
| OKLab | oklab(70.09% 0.0987 -0.1591) |
| OKLCH | oklch(70.09% 0.187 301.8) |
| XYZ | xyz(44.2750, 31.6467, 97.5226) |
| Luminance | 0.3165 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.92
Easter Purple
#C071FE
ΔE00 3.35
Light Urple
#B36FF6
ΔE00 3.54
Liliac
#C48EFD
ΔE00 4.99
Bright Lavender
#C760FF
ΔE00 6.59
Bright Lilac
#C95EFB
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B57DFE #C6FE7D
analogous
#7D86FE #B57DFE #F67DFE
triadic
#B57DFE #FEB57D #7DFEB5
tetradic
#B57DFE #FE7D86 #C6FE7D #7DFEF6
square
#B57DFE #FE7D86 #C6FE7D #7DFEF6
split-complementary
#B57DFE #FEF67D #86FE7D
monochromatic
#7004FD #9240FE #B57DFE #D8BAFE #EEE1FF
Accessibility & contrast
On white
2.87
#B57DFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.33
#B57DFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B57DFE
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B57DFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B57DFE | 1.00 | 2.87 | 7.33 | 7.33 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5198FF
Deuteranopia (green-blind)
#6198FB
Tritanopia (blue-blind)
#A795B2
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b57dfe; /* rgb */ color: rgb(181, 125, 254); /* oklch */ color: oklch(70.1% 0.187 301.8);
Tailwind
colors: {
custom: {
50: '#cea4ff',
500: '#b57dfe',
950: '#000000',
},
}SCSS
$custom: #b57dfe; $custom-light: #cea4ff; $custom-dark: #000000;
JSON
{
"hex": "#b57dfe",
"rgb": {
"r": 181,
"g": 125,
"b": 254
},
"hsl": {
"h": 266.047,
"s": 98.473,
"l": 74.314
},
"oklch": {
"l": 0.70091,
"c": 0.1872,
"h": 301.8
},
"luminance": 0.31647
}Semantic roles & 50–950 ramp
primary
#B57DFE
secondary
#E8F7D4
accent
#E60082
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86