#B57BEE#B57BEE

#B57BEE is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.9% C 0.171 H 305.7°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#B57BEE
RGBrgb(181, 123, 238)
HSLhsl(270, 77%, 71%)
HSVhsv(270, 48%, 93%)
CMYKcmyk(23.9%, 48.3%, 0%, 6.7%)
CIE-LABlab(61.79, 44.21, -49.67)
CIE-LCHlch(61.79, 66.49, 311.67°)
OKLaboklab(68.89% 0.0998 -0.1391)
OKLCHoklch(68.89% 0.171 305.7)
XYZxyz(41.5684, 30.1630, 84.5045)
Luminance0.3016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57BEE #B4EE7B
analogous
#7B7BEE #B57BEE #EE7BED
triadic
#B57BEE #EEB57B #7BEEB5
tetradic
#B57BEE #EE7B7B #B4EE7B #7BEDEE
square
#B57BEE #EE7B7B #B4EE7B #7BEDEE
split-complementary
#B57BEE #EDEE7B #7BEE7B
monochromatic
#781BD3 #9745E7 #B57BEE #D3B1F5 #F0E4FC

Accessibility & contrast

On white

2.99
#B57BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#B57BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57BEE
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57BEE#FFFFFF#000000##000000
##B57BEE1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F2
Deuteranopia (green-blind)
#6A96EB
Tritanopia (blue-blind)
#AC8FA9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b57bee;
/* rgb */ color: rgb(181, 123, 238);
/* oklch */ color: oklch(68.9% 0.171 305.7);
Tailwind
colors: {
  custom: {
    50: '#cda2f4',
    500: '#b57bee',
    950: '#000000',
  },
}
SCSS
$custom: #b57bee;
$custom-light: #cda2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b57bee",
  "rgb": {
    "r": 181,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 270.261,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68888,
    "c": 0.17125,
    "h": 305.7
  },
  "luminance": 0.30163
}

Semantic roles & 50–950 ramp

primary
#B57BEE
secondary
#E2F2D3
accent
#D90C72
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B57BEE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B57BEE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva