#B5A4E8#B5A4E8

#B5A4E8 is a light, moderate violet. Relative luminance 0.422; OKLCH L 75.8% C 0.098 H 295.5°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#B5A4E8
RGBrgb(181, 164, 232)
HSLhsl(255, 60%, 78%)
HSVhsv(255, 29%, 91%)
CMYKcmyk(22%, 29.3%, 0%, 9%)
CIE-LABlab(71.01, 20.05, -31.95)
CIE-LCHlch(71.01, 37.72, 302.11°)
OKLaboklab(75.78% 0.042 -0.0881)
OKLCHoklch(75.78% 0.098 295.5)
XYZxyz(46.8937, 42.2004, 82.0032)
Luminance0.4220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A4E8 #D7E8A4
analogous
#A4B5E8 #B5A4E8 #D7A4E8
triadic
#B5A4E8 #E8B5A4 #A4E8B5
tetradic
#B5A4E8 #E8A4B5 #D7E8A4 #A4E8D7
square
#B5A4E8 #E8A4B5 #D7E8A4 #A4E8D7
split-complementary
#B5A4E8 #E8D7A4 #B5E8A4
monochromatic
#6642CF #8D73DC #B5A4E8 #DDD5F4 #EBE7F9

Accessibility & contrast

On white

2.22
#B5A4E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#B5A4E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A4E8
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A4E8#FFFFFF#000000##000000
##B5A4E81.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AEEB
Deuteranopia (green-blind)
#96ADE6
Tritanopia (blue-blind)
#ABAFBC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b5a4e8;
/* rgb */ color: rgb(181, 164, 232);
/* oklch */ color: oklch(75.8% 0.098 295.5);
Tailwind
colors: {
  custom: {
    50: '#ccbfef',
    500: '#b5a4e8',
    950: '#000000',
  },
}
SCSS
$custom: #b5a4e8;
$custom-light: #ccbfef;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a4e8",
  "rgb": {
    "r": 181,
    "g": 164,
    "b": 232
  },
  "hsl": {
    "h": 255,
    "s": 59.649,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75782,
    "c": 0.09761,
    "h": 295.5
  },
  "luminance": 0.42201
}

Semantic roles & 50–950 ramp

primary
#B5A4E8
secondary
#EBF0DB
accent
#C71E9D
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B5A4E8

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

Preview Lab → · Contrast checker → · Palette generator →

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