#B57CF2#B57CF2
#B57CF2 is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.3% C 0.174 H 304.6°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B57CF2 |
|---|---|
| RGB | rgb(181, 124, 242) |
| HSL | hsl(269, 82%, 72%) |
| HSV | hsv(269, 49%, 95%) |
| CMYK | cmyk(25.2%, 48.8%, 0%, 5.1%) |
| CIE-LAB | lab(62.21, 44.59, -51.22) |
| CIE-LCH | lch(62.21, 67.91, 311.04°) |
| OKLab | oklab(69.26% 0.0989 -0.1436) |
| OKLCH | oklch(69.26% 0.174 304.6) |
| XYZ | xyz(42.2873, 30.6501, 87.6755) |
| Luminance | 0.3065 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.15
Light Urple
#B36FF6
ΔE00 3.27
Easter Purple
#C071FE
ΔE00 3.35
Liliac
#C48EFD
ΔE00 5.02
Bright Lavender
#C760FF
ΔE00 6.42
Bright Lilac
#C95EFB
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B57CF2 #B9F27C
analogous
#7C7EF2 #B57CF2 #F07CF2
triadic
#B57CF2 #F2B57C #7CF2B5
tetradic
#B57CF2 #F27C7E #B9F27C #7CF2F0
square
#B57CF2 #F27C7E #B9F27C #7CF2F0
split-complementary
#B57CF2 #F2F07C #7EF27C
monochromatic
#7616DE #9644EC #B57CF2 #D4B4F8 #EFE3FC
Accessibility & contrast
On white
2.95
#B57CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.13
#B57CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B57CF2
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B57CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B57CF2 | 1.00 | 2.95 | 7.13 | 7.13 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5995F6
Deuteranopia (green-blind)
#6996EF
Tritanopia (blue-blind)
#AB91AC
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b57cf2; /* rgb */ color: rgb(181, 124, 242); /* oklch */ color: oklch(69.3% 0.174 304.6);
Tailwind
colors: {
custom: {
50: '#cea3f7',
500: '#b57cf2',
950: '#000000',
},
}SCSS
$custom: #b57cf2; $custom-light: #cea3f7; $custom-dark: #000000;
JSON
{
"hex": "#b57cf2",
"rgb": {
"r": 181,
"g": 124,
"b": 242
},
"hsl": {
"h": 268.983,
"s": 81.944,
"l": 71.765
},
"oklch": {
"l": 0.69264,
"c": 0.17443,
"h": 304.6
},
"luminance": 0.3065
}Semantic roles & 50–950 ramp
primary
#B57CF2
secondary
#E5F4D6
accent
#DE0776
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85