#B5A4EC#B5A4EC

#B5A4EC is a light, moderate violet. Relative luminance 0.424; OKLCH L 76.0% C 0.103 H 294.7°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#B5A4EC
RGBrgb(181, 164, 236)
HSLhsl(254, 65%, 78%)
HSVhsv(254, 31%, 93%)
CMYKcmyk(23.3%, 30.5%, 0%, 7.5%)
CIE-LABlab(71.17, 20.98, -33.89)
CIE-LCHlch(71.17, 39.86, 301.76°)
OKLaboklab(75.96% 0.043 -0.0937)
OKLCHoklch(75.96% 0.103 294.7)
XYZxyz(47.4683, 42.4303, 85.0296)
Luminance0.4243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A4EC #DBECA4
analogous
#A4B7EC #B5A4EC #D9A4EC
triadic
#B5A4EC #ECB5A4 #A4ECB5
tetradic
#B5A4EC #ECA4B7 #DBECA4 #A4ECD9
square
#B5A4EC #ECA4B7 #DBECA4 #A4ECD9
split-complementary
#B5A4EC #ECD9A4 #B7ECA4
monochromatic
#633FD7 #8C71E1 #B5A4EC #DED7F7 #EAE6FA

Accessibility & contrast

On white

2.21
#B5A4EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#B5A4EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A4EC
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A4EC#FFFFFF#000000##000000
##B5A4EC1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AFEF
Deuteranopia (green-blind)
#94ADEA
Tritanopia (blue-blind)
#AAB0BE
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b5a4ec;
/* rgb */ color: rgb(181, 164, 236);
/* oklch */ color: oklch(76.0% 0.103 294.7);
Tailwind
colors: {
  custom: {
    50: '#ccbff2',
    500: '#b5a4ec',
    950: '#000000',
  },
}
SCSS
$custom: #b5a4ec;
$custom-light: #ccbff2;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a4ec",
  "rgb": {
    "r": 181,
    "g": 164,
    "b": 236
  },
  "hsl": {
    "h": 254.167,
    "s": 65.455,
    "l": 78.431
  },
  "oklch": {
    "l": 0.75955,
    "c": 0.10308,
    "h": 294.7
  },
  "luminance": 0.42431
}

Semantic roles & 50–950 ramp

primary
#B5A4EC
secondary
#ECF1DA
accent
#CD18A3
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #B5A4EC

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

Preview Lab → · Contrast checker → · Palette generator →

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