#B5A6EA#B5A6EA

#B5A6EA is a light, moderate violet. Relative luminance 0.430; OKLCH L 76.2% C 0.097 H 294.1°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#B5A6EA
RGBrgb(181, 166, 234)
HSLhsl(253, 62%, 78%)
HSVhsv(253, 29%, 92%)
CMYKcmyk(22.6%, 29.1%, 0%, 8.2%)
CIE-LABlab(71.58, 19.40, -32.16)
CIE-LCHlch(71.58, 37.56, 301.10°)
OKLaboklab(76.25% 0.0397 -0.0887)
OKLCHoklch(76.25% 0.097 294.1)
XYZxyz(47.5401, 43.0362, 83.6281)
Luminance0.4304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A6EA #DBEAA6
analogous
#A6B9EA #B5A6EA #D7A6EA
triadic
#B5A6EA #EAB5A6 #A6EAB5
tetradic
#B5A6EA #EAA6B9 #DBEAA6 #A6EAD7
square
#B5A6EA #EAA6B9 #DBEAA6 #A6EAD7
split-complementary
#B5A6EA #EAD7A6 #B9EAA6
monochromatic
#6343D3 #8C74DE #B5A6EA #DED8F6 #EAE6F9

Accessibility & contrast

On white

2.19
#B5A6EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#B5A6EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A6EA
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A6EA#FFFFFF#000000##000000
##B5A6EA1.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B0ED
Deuteranopia (green-blind)
#97AEE8
Tritanopia (blue-blind)
#AAB1BE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b5a6ea;
/* rgb */ color: rgb(181, 166, 234);
/* oklch */ color: oklch(76.2% 0.097 294.1);
Tailwind
colors: {
  custom: {
    50: '#ccc0f1',
    500: '#b5a6ea',
    950: '#000000',
  },
}
SCSS
$custom: #b5a6ea;
$custom-light: #ccc0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a6ea",
  "rgb": {
    "r": 181,
    "g": 166,
    "b": 234
  },
  "hsl": {
    "h": 253.235,
    "s": 61.818,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76247,
    "c": 0.09722,
    "h": 294.1
  },
  "luminance": 0.43037
}

Semantic roles & 50–950 ramp

primary
#B5A6EA
secondary
#ECF1DA
accent
#CA1CA3
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B5A6EA

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

Preview Lab → · Contrast checker → · Palette generator →

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