#B57BF2#B57BF2
#B57BF2 is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.1% C 0.176 H 304.7°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #B57BF2 |
|---|---|
| RGB | rgb(181, 123, 242) |
| HSL | hsl(269, 82%, 72%) |
| HSV | hsv(269, 49%, 95%) |
| CMYK | cmyk(25.2%, 49.2%, 0%, 5.1%) |
| CIE-LAB | lab(62.00, 45.13, -51.56) |
| CIE-LCH | lch(62.00, 68.52, 311.20°) |
| OKLab | oklab(69.11% 0.1003 -0.1446) |
| OKLCH | oklch(69.11% 0.176 304.7) |
| XYZ | xyz(42.1626, 30.4007, 87.6339) |
| Luminance | 0.3040 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.02
Light Urple
#B36FF6
ΔE00 3.02
Easter Purple
#C071FE
ΔE00 3.16
Liliac
#C48EFD
ΔE00 5.23
Bright Lavender
#C760FF
ΔE00 6.20
Bright Lilac
#C95EFB
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B57BF2 #B8F27B
analogous
#7B7DF2 #B57BF2 #F17BF2
triadic
#B57BF2 #F2B57B #7BF2B5
tetradic
#B57BF2 #F27B7D #B8F27B #7BF2F1
square
#B57BF2 #F27B7D #B8F27B #7BF2F1
split-complementary
#B57BF2 #F2F17B #7DF27B
monochromatic
#7716DD #9643ED #B57BF2 #D4B3F7 #EFE3FC
Accessibility & contrast
On white
2.97
#B57BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.08
#B57BF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B57BF2
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B57BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B57BF2 | 1.00 | 2.97 | 7.08 | 7.08 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#6896EF
Tritanopia (blue-blind)
#AB90AB
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b57bf2; /* rgb */ color: rgb(181, 123, 242); /* oklch */ color: oklch(69.1% 0.176 304.7);
Tailwind
colors: {
custom: {
50: '#cea2f7',
500: '#b57bf2',
950: '#000000',
},
}SCSS
$custom: #b57bf2; $custom-light: #cea2f7; $custom-dark: #000000;
JSON
{
"hex": "#b57bf2",
"rgb": {
"r": 181,
"g": 123,
"b": 242
},
"hsl": {
"h": 269.244,
"s": 82.069,
"l": 71.569
},
"oklch": {
"l": 0.69106,
"c": 0.17599,
"h": 304.7
},
"luminance": 0.304
}Semantic roles & 50–950 ramp
primary
#B57BF2
secondary
#E5F4D5
accent
#DE0775
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85