#B57AEA#B57AEA

#B57AEA is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.5% C 0.168 H 306.8°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#B57AEA
RGBrgb(181, 122, 234)
HSLhsl(272, 73%, 70%)
HSVhsv(272, 48%, 92%)
CMYKcmyk(22.6%, 47.9%, 0%, 8.2%)
CIE-LABlab(61.38, 43.84, -48.10)
CIE-LCHlch(61.38, 65.08, 312.34°)
OKLaboklab(68.51% 0.1007 -0.1346)
OKLCHoklch(68.51% 0.168 306.8)
XYZxyz(40.8639, 29.6837, 81.4027)
Luminance0.2968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57AEA #AFEA7A
analogous
#7D7AEA #B57AEA #EA7AE7
triadic
#B57AEA #EAB57A #7AEAB5
tetradic
#B57AEA #EA7D7A #AFEA7A #7AE7EA
square
#B57AEA #EA7D7A #AFEA7A #7AE7EA
split-complementary
#B57AEA #E7EA7A #7AEA7D
monochromatic
#7920CA #9845E2 #B57AEA #D2AFF2 #F0E4FB

Accessibility & contrast

On white

3.03
#B57AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#B57AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B57AEA
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57AEA#FFFFFF#000000##000000
##B57AEA1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C92EE
Deuteranopia (green-blind)
#6C95E7
Tritanopia (blue-blind)
#AD8DA7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b57aea;
/* rgb */ color: rgb(181, 122, 234);
/* oklch */ color: oklch(68.5% 0.168 306.8);
Tailwind
colors: {
  custom: {
    50: '#cda2f1',
    500: '#b57aea',
    950: '#000000',
  },
}
SCSS
$custom: #b57aea;
$custom-light: #cda2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b57aea",
  "rgb": {
    "r": 181,
    "g": 122,
    "b": 234
  },
  "hsl": {
    "h": 271.607,
    "s": 72.727,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68514,
    "c": 0.16809,
    "h": 306.8
  },
  "luminance": 0.29683
}

Semantic roles & 50–950 ramp

primary
#B57AEA
secondary
#DFF0D0
accent
#D5116D
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B57AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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