#B57BEB#B57BEB

#B57BEB is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.7% C 0.168 H 306.4°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#B57BEB
RGBrgb(181, 123, 235)
HSLhsl(271, 74%, 70%)
HSVhsv(271, 48%, 92%)
CMYKcmyk(23%, 47.7%, 0%, 7.8%)
CIE-LABlab(61.64, 43.52, -48.24)
CIE-LCHlch(61.64, 64.97, 312.05°)
OKLaboklab(68.73% 0.0995 -0.135)
OKLCHoklch(68.73% 0.168 306.4)
XYZxyz(41.1314, 29.9882, 82.2026)
Luminance0.2999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57BEB #B1EB7B
analogous
#7D7BEB #B57BEB #EB7BE9
triadic
#B57BEB #EBB57B #7BEBB5
tetradic
#B57BEB #EB7D7B #B1EB7B #7BE9EB
square
#B57BEB #EB7D7B #B1EB7B #7BE9EB
split-complementary
#B57BEB #E9EB7B #7BEB7D
monochromatic
#791FCD #9746E3 #B57BEB #D3B0F3 #F0E4FB

Accessibility & contrast

On white

3.00
#B57BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#B57BEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57BEB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57BEB#FFFFFF#000000##000000
##B57BEB1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93EF
Deuteranopia (green-blind)
#6C95E8
Tritanopia (blue-blind)
#AD8EA8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b57beb;
/* rgb */ color: rgb(181, 123, 235);
/* oklch */ color: oklch(68.7% 0.168 306.4);
Tailwind
colors: {
  custom: {
    50: '#cda2f2',
    500: '#b57beb',
    950: '#000000',
  },
}
SCSS
$custom: #b57beb;
$custom-light: #cda2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b57beb",
  "rgb": {
    "r": 181,
    "g": 123,
    "b": 235
  },
  "hsl": {
    "h": 271.071,
    "s": 73.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68727,
    "c": 0.16769,
    "h": 306.4
  },
  "luminance": 0.29988
}

Semantic roles & 50–950 ramp

primary
#B57BEB
secondary
#E0F0D1
accent
#D6106F
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B57BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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