#B57FEE#B57FEE

#B57FEE is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.5% C 0.165 H 305.0°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#B57FEE
RGBrgb(181, 127, 238)
HSLhsl(269, 77%, 72%)
HSVhsv(269, 47%, 93%)
CMYKcmyk(23.9%, 46.6%, 0%, 6.7%)
CIE-LABlab(62.66, 42.03, -48.31)
CIE-LCHlch(62.66, 64.03, 311.03°)
OKLaboklab(69.53% 0.0945 -0.1352)
OKLCHoklch(69.53% 0.165 305)
XYZxyz(42.0748, 31.1758, 84.6733)
Luminance0.3118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57FEE #B8EE7F
analogous
#7F81EE #B57FEE #ED7FEE
triadic
#B57FEE #EEB57F #7FEEB5
tetradic
#B57FEE #EE7F81 #B8EE7F #7FEEED
square
#B57FEE #EE7F81 #B8EE7F #7FEEED
split-complementary
#B57FEE #EEED7F #81EE7F
monochromatic
#771CD6 #9649E7 #B57FEE #D4B5F5 #EFE4FB

Accessibility & contrast

On white

2.90
#B57FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#B57FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57FEE
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57FEE#FFFFFF#000000##000000
##B57FEE1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6196F2
Deuteranopia (green-blind)
#6F98EB
Tritanopia (blue-blind)
#AC92AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b57fee;
/* rgb */ color: rgb(181, 127, 238);
/* oklch */ color: oklch(69.5% 0.165 305.0);
Tailwind
colors: {
  custom: {
    50: '#cda5f4',
    500: '#b57fee',
    950: '#000000',
  },
}
SCSS
$custom: #b57fee;
$custom-light: #cda5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b57fee",
  "rgb": {
    "r": 181,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 269.189,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69531,
    "c": 0.16492,
    "h": 305
  },
  "luminance": 0.31176
}

Semantic roles & 50–950 ramp

primary
#B57FEE
secondary
#E5F3D6
accent
#D90D76
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B57FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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