#B5A2EA#B5A2EA

#B5A2EA is a light, moderate violet. Relative luminance 0.416; OKLCH L 75.5% C 0.103 H 295.9°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#B5A2EA
RGBrgb(181, 162, 234)
HSLhsl(256, 63%, 78%)
HSVhsv(256, 31%, 92%)
CMYKcmyk(22.6%, 30.8%, 0%, 8.2%)
CIE-LABlab(70.60, 21.63, -33.68)
CIE-LCHlch(70.60, 40.03, 302.71°)
OKLaboklab(75.49% 0.0453 -0.0931)
OKLCHoklch(75.49% 0.104 295.9)
XYZxyz(46.8243, 41.6045, 83.3895)
Luminance0.4160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A2EA #D7EAA2
analogous
#A2B3EA #B5A2EA #D9A2EA
triadic
#B5A2EA #EAB5A2 #A2EAB5
tetradic
#B5A2EA #EAA2B3 #D7EAA2 #A2EAD9
square
#B5A2EA #EAA2B3 #D7EAA2 #A2EAD9
split-complementary
#B5A2EA #EAD9A2 #B3EAA2
monochromatic
#663ED3 #8D70DF #B5A2EA #DDD4F5 #EBE6F9

Accessibility & contrast

On white

2.25
#B5A2EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#B5A2EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A2EA
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A2EA#FFFFFF#000000##000000
##B5A2EA1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91ADED
Deuteranopia (green-blind)
#93ACE8
Tritanopia (blue-blind)
#ABAEBC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b5a2ea;
/* rgb */ color: rgb(181, 162, 234);
/* oklch */ color: oklch(75.5% 0.103 295.9);
Tailwind
colors: {
  custom: {
    50: '#ccbdf1',
    500: '#b5a2ea',
    950: '#000000',
  },
}
SCSS
$custom: #b5a2ea;
$custom-light: #ccbdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a2ea",
  "rgb": {
    "r": 181,
    "g": 162,
    "b": 234
  },
  "hsl": {
    "h": 255.833,
    "s": 63.158,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75492,
    "c": 0.1035,
    "h": 295.9
  },
  "luminance": 0.41605
}

Semantic roles & 50–950 ramp

primary
#B5A2EA
secondary
#EBF1DA
accent
#CB1B9C
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B5A2EA

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

Preview Lab → · Contrast checker → · Palette generator →

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