#B57DEB#B57DEB

#B57DEB is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.0% C 0.165 H 306.0°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#B57DEB
RGBrgb(181, 125, 235)
HSLhsl(271, 73%, 71%)
HSVhsv(271, 47%, 92%)
CMYKcmyk(23%, 46.8%, 0%, 7.8%)
CIE-LABlab(62.07, 42.43, -47.56)
CIE-LCHlch(62.07, 63.74, 311.74°)
OKLaboklab(69.05% 0.0968 -0.133)
OKLCHoklch(69.05% 0.165 306)
XYZxyz(41.3820, 30.4895, 82.2862)
Luminance0.3049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57DEB #B3EB7D
analogous
#7E7DEB #B57DEB #EB7DEA
triadic
#B57DEB #EBB57D #7DEBB5
tetradic
#B57DEB #EB7E7D #B3EB7D #7DEAEB
square
#B57DEB #EB7E7D #B3EB7D #7DEAEB
split-complementary
#B57DEB #EAEB7D #7DEB7E
monochromatic
#7820CE #9748E3 #B57DEB #D3B2F3 #F0E4FB

Accessibility & contrast

On white

2.96
#B57DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#B57DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57DEB
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57DEB#FFFFFF#000000##000000
##B57DEB1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EF
Deuteranopia (green-blind)
#6E96E8
Tritanopia (blue-blind)
#AD90A9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b57deb;
/* rgb */ color: rgb(181, 125, 235);
/* oklch */ color: oklch(69.0% 0.165 306.0);
Tailwind
colors: {
  custom: {
    50: '#cda4f2',
    500: '#b57deb',
    950: '#000000',
  },
}
SCSS
$custom: #b57deb;
$custom-light: #cda4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b57deb",
  "rgb": {
    "r": 181,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 270.545,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69048,
    "c": 0.1645,
    "h": 306
  },
  "luminance": 0.30489
}

Semantic roles & 50–950 ramp

primary
#B57DEB
secondary
#E2F1D3
accent
#D51071
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B57DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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