#B57AEB#B57AEB

#B57AEB is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.6% C 0.169 H 306.6°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#B57AEB
RGBrgb(181, 122, 235)
HSLhsl(271, 74%, 70%)
HSVhsv(271, 48%, 92%)
CMYKcmyk(23%, 48.1%, 0%, 7.8%)
CIE-LABlab(61.43, 44.06, -48.58)
CIE-LCHlch(61.43, 65.59, 312.21°)
OKLaboklab(68.57% 0.1008 -0.136)
OKLCHoklch(68.57% 0.169 306.6)
XYZxyz(41.0079, 29.7413, 82.1615)
Luminance0.2974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57AEB #B0EB7A
analogous
#7C7AEB #B57AEB #EB7AE9
triadic
#B57AEB #EBB57A #7AEBB5
tetradic
#B57AEB #EB7C7A #B0EB7A #7AE9EB
square
#B57AEB #EB7C7A #B0EB7A #7AE9EB
split-complementary
#B57AEB #E9EB7A #7AEB7C
monochromatic
#791FCC #9745E3 #B57AEB #D3AFF3 #F0E4FB

Accessibility & contrast

On white

3.02
#B57AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#B57AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B57AEB
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57AEB#FFFFFF#000000##000000
##B57AEB1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92EF
Deuteranopia (green-blind)
#6B95E8
Tritanopia (blue-blind)
#AD8DA8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b57aeb;
/* rgb */ color: rgb(181, 122, 235);
/* oklch */ color: oklch(68.6% 0.169 306.6);
Tailwind
colors: {
  custom: {
    50: '#cda2f2',
    500: '#b57aeb',
    950: '#000000',
  },
}
SCSS
$custom: #b57aeb;
$custom-light: #cda2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b57aeb",
  "rgb": {
    "r": 181,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 271.327,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.68568,
    "c": 0.16927,
    "h": 306.6
  },
  "luminance": 0.29741
}

Semantic roles & 50–950 ramp

primary
#B57AEB
secondary
#E0F0D1
accent
#D6106E
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B57AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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