#B4A7DD#B4A7DD

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

Color values

HEX#B4A7DD
RGBrgb(180, 167, 221)
HSLhsl(254, 44%, 76%)
HSVhsv(254, 24%, 87%)
CMYKcmyk(18.6%, 24.4%, 0%, 13.3%)
CIE-LABlab(71.26, 15.57, -25.56)
CIE-LCHlch(71.26, 29.93, 301.36°)
OKLaboklab(75.82% 0.0335 -0.07)
OKLCHoklch(75.82% 0.078 295.5)
XYZxyz(45.6894, 42.5609, 74.2006)
Luminance0.4256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A7DD #D0DDA7
analogous
#A7B5DD #B4A7DD #CFA7DD
triadic
#B4A7DD #DDB4A7 #A7DDB4
tetradic
#B4A7DD #DDA7B5 #D0DDA7 #A7DDCF
square
#B4A7DD #DDA7B5 #D0DDA7 #A7DDCF
split-complementary
#B4A7DD #DDCFA7 #B5DDA7
monochromatic
#694FBB #8E7BCC #B4A7DD #DAD3EE #ECE9F6

Accessibility & contrast

On white

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

On black

9.51
#B4A7DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A7DD
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A7DD#FFFFFF#000000##000000
##B4A7DD1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BAFDF
Deuteranopia (green-blind)
#9DAEDB
Tritanopia (blue-blind)
#ACAFBA
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b4a7dd;
/* rgb */ color: rgb(180, 167, 221);
/* oklch */ color: oklch(75.8% 0.078 295.5);
Tailwind
colors: {
  custom: {
    50: '#cbc1e7',
    500: '#b4a7dd',
    950: '#000000',
  },
}
SCSS
$custom: #b4a7dd;
$custom-light: #cbc1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a7dd",
  "rgb": {
    "r": 180,
    "g": 167,
    "b": 221
  },
  "hsl": {
    "h": 254.444,
    "s": 44.262,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75816,
    "c": 0.07762,
    "h": 295.5
  },
  "luminance": 0.42561
}

Semantic roles & 50–950 ramp

primary
#B4A7DD
secondary
#EAEDDE
accent
#B72E96
background
#FCFBFE
surface
#F8F7FC
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B4A7DD

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

Preview Lab → · Contrast checker → · Palette generator →

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