#B4A8DD#B4A8DD

#B4A8DD is a light, moderate violet. Relative luminance 0.429; OKLCH L 76.0% C 0.076 H 294.9°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#B4A8DD
RGBrgb(180, 168, 221)
HSLhsl(254, 44%, 76%)
HSVhsv(254, 24%, 87%)
CMYKcmyk(18.6%, 24%, 0%, 13.3%)
CIE-LABlab(71.51, 15.02, -25.18)
CIE-LCHlch(71.51, 29.31, 300.82°)
OKLaboklab(76.01% 0.032 -0.069)
OKLCHoklch(76.01% 0.076 294.9)
XYZxyz(45.8733, 42.9287, 74.2619)
Luminance0.4293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A8DD #D1DDA8
analogous
#A8B7DD #B4A8DD #CFA8DD
triadic
#B4A8DD #DDB4A8 #A8DDB4
tetradic
#B4A8DD #DDA8B7 #D1DDA8 #A8DDCF
square
#B4A8DD #DDA8B7 #D1DDA8 #A8DDCF
split-complementary
#B4A8DD #DDCFA8 #B7DDA8
monochromatic
#6850BB #8E7CCC #B4A8DD #DAD4EE #ECE9F6

Accessibility & contrast

On white

2.19
#B4A8DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#B4A8DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A8DD
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A8DD#FFFFFF#000000##000000
##B4A8DD1.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB0DF
Deuteranopia (green-blind)
#9EAEDB
Tritanopia (blue-blind)
#ACB0BA
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b4a8dd;
/* rgb */ color: rgb(180, 168, 221);
/* oklch */ color: oklch(76.0% 0.076 294.9);
Tailwind
colors: {
  custom: {
    50: '#cbc1e7',
    500: '#b4a8dd',
    950: '#000000',
  },
}
SCSS
$custom: #b4a8dd;
$custom-light: #cbc1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a8dd",
  "rgb": {
    "r": 180,
    "g": 168,
    "b": 221
  },
  "hsl": {
    "h": 253.585,
    "s": 43.802,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76009,
    "c": 0.07604,
    "h": 294.9
  },
  "luminance": 0.42929
}

Semantic roles & 50–950 ramp

primary
#B4A8DD
secondary
#EAEDDE
accent
#B72F98
background
#FCFBFE
surface
#F8F7FC
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B4A8DD

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

Preview Lab → · Contrast checker → · Palette generator →

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