#B57CEC#B57CEC

#B57CEC is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.9% C 0.167 H 306.0°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#B57CEC
RGBrgb(181, 124, 236)
HSLhsl(271, 75%, 71%)
HSVhsv(271, 47%, 93%)
CMYKcmyk(23.3%, 47.5%, 0%, 7.5%)
CIE-LABlab(61.91, 43.21, -48.38)
CIE-LCHlch(61.91, 64.86, 311.77°)
OKLaboklab(68.94% 0.0983 -0.1354)
OKLCHoklch(68.94% 0.167 306)
XYZxyz(41.4009, 30.2955, 83.0072)
Luminance0.3029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57CEC #B3EC7C
analogous
#7D7CEC #B57CEC #EC7CEB
triadic
#B57CEC #ECB57C #7CECB5
tetradic
#B57CEC #EC7D7C #B3EC7C #7CEBEC
square
#B57CEC #EC7D7C #B3EC7C #7CEBEC
split-complementary
#B57CEC #EBEC7C #7CEC7D
monochromatic
#781ED0 #9747E4 #B57CEC #D3B1F4 #F0E4FB

Accessibility & contrast

On white

2.97
#B57CEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#B57CEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57CEC
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57CEC#FFFFFF#000000##000000
##B57CEC1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D94F0
Deuteranopia (green-blind)
#6D96E9
Tritanopia (blue-blind)
#AC8FA9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b57cec;
/* rgb */ color: rgb(181, 124, 236);
/* oklch */ color: oklch(68.9% 0.167 306.0);
Tailwind
colors: {
  custom: {
    50: '#cda3f2',
    500: '#b57cec',
    950: '#000000',
  },
}
SCSS
$custom: #b57cec;
$custom-light: #cda3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b57cec",
  "rgb": {
    "r": 181,
    "g": 124,
    "b": 236
  },
  "hsl": {
    "h": 270.536,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6894,
    "c": 0.16729,
    "h": 306
  },
  "luminance": 0.30295
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B57CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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