#B57EEF#B57EEF

#B57EEF is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.4% C 0.168 H 304.9°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#B57EEF
RGBrgb(181, 126, 239)
HSLhsl(269, 78%, 72%)
HSVhsv(269, 47%, 94%)
CMYKcmyk(24.3%, 47.3%, 0%, 6.3%)
CIE-LABlab(62.49, 42.81, -49.12)
CIE-LCHlch(62.49, 65.16, 311.07°)
OKLaboklab(69.42% 0.0959 -0.1375)
OKLCHoklch(69.42% 0.168 304.9)
XYZxyz(42.0936, 30.9777, 85.4063)
Luminance0.3098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57EEF #B8EF7E
analogous
#7E80EF #B57EEF #EE7EEF
triadic
#B57EEF #EFB57E #7EEFB5
tetradic
#B57EEF #EF7E80 #B8EF7E #7EEFEE
square
#B57EEF #EF7E80 #B8EF7E #7EEFEE
split-complementary
#B57EEF #EFEE7E #80EF7E
monochromatic
#771BD8 #9648E8 #B57EEF #D4B4F6 #EFE4FC

Accessibility & contrast

On white

2.92
#B57EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#B57EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57EEF
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57EEF#FFFFFF#000000##000000
##B57EEF1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F3
Deuteranopia (green-blind)
#6D97EC
Tritanopia (blue-blind)
#AB92AB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b57eef;
/* rgb */ color: rgb(181, 126, 239);
/* oklch */ color: oklch(69.4% 0.168 304.9);
Tailwind
colors: {
  custom: {
    50: '#cda4f5',
    500: '#b57eef',
    950: '#000000',
  },
}
SCSS
$custom: #b57eef;
$custom-light: #cda4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b57eef",
  "rgb": {
    "r": 181,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 269.204,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69422,
    "c": 0.1677,
    "h": 304.9
  },
  "luminance": 0.30977
}

Semantic roles & 50–950 ramp

primary
#B57EEF
secondary
#E5F3D6
accent
#DA0B75
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#140F17
muted
#827F85

Preview Lab

Preview with #B57EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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