#B57CFE#B57CFE
#B57CFE is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.9% C 0.189 H 302.0°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B57CFE |
|---|---|
| RGB | rgb(181, 124, 254) |
| HSL | hsl(266, 98%, 74%) |
| HSV | hsv(266, 51%, 100%) |
| CMYK | cmyk(28.7%, 51.2%, 0%, 0.4%) |
| CIE-LAB | lab(62.84, 47.40, -56.83) |
| CIE-LCH | lch(62.84, 74.00, 309.83°) |
| OKLab | oklab(69.94% 0.1 -0.16) |
| OKLCH | oklch(69.94% 0.189 302) |
| XYZ | xyz(44.1490, 31.3947, 97.4806) |
| Luminance | 0.3140 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.81
Easter Purple
#C071FE
ΔE00 3.16
Light Urple
#B36FF6
ΔE00 3.31
Liliac
#C48EFD
ΔE00 5.19
Bright Lavender
#C760FF
ΔE00 6.37
Bright Lilac
#C95EFB
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B57CFE #C5FE7C
analogous
#7C84FE #B57CFE #F67CFE
triadic
#B57CFE #FEB57C #7CFEB5
tetradic
#B57CFE #FE7C84 #C5FE7C #7CFEF6
square
#B57CFE #FE7C84 #C5FE7C #7CFEF6
split-complementary
#B57CFE #FEF67C #84FE7C
monochromatic
#7003FD #933FFE #B57CFE #D7B9FE #EEE1FF
Accessibility & contrast
On white
2.89
#B57CFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.28
#B57CFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B57CFE
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B57CFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B57CFE | 1.00 | 2.89 | 7.28 | 7.28 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#6098FB
Tritanopia (blue-blind)
#A794B2
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b57cfe; /* rgb */ color: rgb(181, 124, 254); /* oklch */ color: oklch(69.9% 0.189 302.0);
Tailwind
colors: {
custom: {
50: '#cea3ff',
500: '#b57cfe',
950: '#000000',
},
}SCSS
$custom: #b57cfe; $custom-light: #cea3ff; $custom-dark: #000000;
JSON
{
"hex": "#b57cfe",
"rgb": {
"r": 181,
"g": 124,
"b": 254
},
"hsl": {
"h": 266.308,
"s": 98.485,
"l": 74.118
},
"oklch": {
"l": 0.69935,
"c": 0.1887,
"h": 302
},
"luminance": 0.31395
}Semantic roles & 50–950 ramp
primary
#B57CFE
secondary
#E8F7D4
accent
#E60081
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86