#B4A4EA#B4A4EA

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

Color values

HEX#B4A4EA
RGBrgb(180, 164, 234)
HSLhsl(254, 63%, 78%)
HSVhsv(254, 30%, 92%)
CMYKcmyk(23.1%, 29.9%, 0%, 8.2%)
CIE-LABlab(71.00, 20.22, -33.05)
CIE-LCHlch(71.00, 38.75, 301.45°)
OKLaboklab(75.79% 0.0414 -0.0913)
OKLCHoklch(75.79% 0.1 294.4)
XYZxyz(46.9457, 42.1942, 83.4969)
Luminance0.4219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A4EA #DAEAA4
analogous
#A4B7EA #B4A4EA #D7A4EA
triadic
#B4A4EA #EAB4A4 #A4EAB4
tetradic
#B4A4EA #EAA4B7 #DAEAA4 #A4EAD7
square
#B4A4EA #EAA4B7 #DAEAA4 #A4EAD7
split-complementary
#B4A4EA #EAD7A4 #B7EAA4
monochromatic
#6241D3 #8B72DF #B4A4EA #DDD6F5 #EBE6F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4A4EA#FFFFFF#000000##000000
##B4A4EA1.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)
#93AEED
Deuteranopia (green-blind)
#95ADE8
Tritanopia (blue-blind)
#A9AFBD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b4a4ea;
/* rgb */ color: rgb(180, 164, 234);
/* oklch */ color: oklch(75.8% 0.100 294.4);
Tailwind
colors: {
  custom: {
    50: '#cbbff1',
    500: '#b4a4ea',
    950: '#000000',
  },
}
SCSS
$custom: #b4a4ea;
$custom-light: #cbbff1;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a4ea",
  "rgb": {
    "r": 180,
    "g": 164,
    "b": 234
  },
  "hsl": {
    "h": 253.714,
    "s": 62.5,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75785,
    "c": 0.10024,
    "h": 294.4
  },
  "luminance": 0.42195
}

Semantic roles & 50–950 ramp

primary
#B4A4EA
secondary
#ECF1DA
accent
#CA1BA2
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B4A4EA

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

Preview Lab → · Contrast checker → · Palette generator →

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