#B57DEC#B57DEC

#B57DEC is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.1% C 0.166 H 305.8°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#B57DEC
RGBrgb(181, 125, 236)
HSLhsl(270, 74%, 71%)
HSVhsv(270, 47%, 93%)
CMYKcmyk(23.3%, 47%, 0%, 7.5%)
CIE-LABlab(62.12, 42.66, -48.04)
CIE-LCHlch(62.12, 64.25, 311.61°)
OKLaboklab(69.1% 0.0969 -0.1344)
OKLCHoklch(69.1% 0.166 305.8)
XYZxyz(41.5269, 30.5474, 83.0492)
Luminance0.3055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57DEC #B4EC7D
analogous
#7D7DEC #B57DEC #EC7DEC
triadic
#B57DEC #ECB57D #7DECB5
tetradic
#B57DEC #EC7D7D #B4EC7D #7DECEC
square
#B57DEC #EC7D7D #B4EC7D #7DECEC
split-complementary
#B57DEC #ECEC7D #7DEC7D
monochromatic
#781ED0 #9748E4 #B57DEC #D3B2F4 #F0E4FB

Accessibility & contrast

On white

2.95
#B57DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#B57DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57DEC
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57DEC#FFFFFF#000000##000000
##B57DEC1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94F0
Deuteranopia (green-blind)
#6E96E9
Tritanopia (blue-blind)
#AC90A9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b57dec;
/* rgb */ color: rgb(181, 125, 236);
/* oklch */ color: oklch(69.1% 0.166 305.8);
Tailwind
colors: {
  custom: {
    50: '#cda4f2',
    500: '#b57dec',
    950: '#000000',
  },
}
SCSS
$custom: #b57dec;
$custom-light: #cda4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b57dec",
  "rgb": {
    "r": 181,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 270.27,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69101,
    "c": 0.16569,
    "h": 305.8
  },
  "luminance": 0.30547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B57DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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