#B4A4E7#B4A4E7

#B4A4E7 is a light, moderate violet. Relative luminance 0.420; OKLCH L 75.7% C 0.096 H 295.0°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#B4A4E7
RGBrgb(180, 164, 231)
HSLhsl(254, 58%, 77%)
HSVhsv(254, 29%, 91%)
CMYKcmyk(22.1%, 29%, 0%, 9.4%)
CIE-LABlab(70.89, 19.52, -31.60)
CIE-LCHlch(70.89, 37.14, 301.71°)
OKLaboklab(75.66% 0.0406 -0.0872)
OKLCHoklch(75.66% 0.096 295)
XYZxyz(46.5183, 42.0233, 81.2463)
Luminance0.4202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A4E7 #D7E7A4
analogous
#A4B6E7 #B4A4E7 #D5A4E7
triadic
#B4A4E7 #E7B4A4 #A4E7B4
tetradic
#B4A4E7 #E7A4B6 #D7E7A4 #A4E7D5
square
#B4A4E7 #E7A4B6 #D7E7A4 #A4E7D5
split-complementary
#B4A4E7 #E7D5A4 #B6E7A4
monochromatic
#6443CD #8C74DA #B4A4E7 #DCD4F4 #EBE7F9

Accessibility & contrast

On white

2.23
#B4A4E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#B4A4E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A4E7
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A4E7#FFFFFF#000000##000000
##B4A4E71.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AEEA
Deuteranopia (green-blind)
#96ADE5
Tritanopia (blue-blind)
#AAAFBC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b4a4e7;
/* rgb */ color: rgb(180, 164, 231);
/* oklch */ color: oklch(75.7% 0.096 295.0);
Tailwind
colors: {
  custom: {
    50: '#cbbfee',
    500: '#b4a4e7',
    950: '#000000',
  },
}
SCSS
$custom: #b4a4e7;
$custom-light: #cbbfee;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a4e7",
  "rgb": {
    "r": 180,
    "g": 164,
    "b": 231
  },
  "hsl": {
    "h": 254.328,
    "s": 58.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75655,
    "c": 0.09614,
    "h": 295
  },
  "luminance": 0.42024
}

Semantic roles & 50–950 ramp

primary
#B4A4E7
secondary
#EBF0DB
accent
#C6209E
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B4A4E7

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

Preview Lab → · Contrast checker → · Palette generator →

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