#B8A4EA#B8A4EA

#B8A4EA is a light, moderate violet. Relative luminance 0.427; OKLCH L 76.1% C 0.101 H 297.1°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#B8A4EA
RGBrgb(184, 164, 234)
HSLhsl(257, 63%, 78%)
HSVhsv(257, 30%, 92%)
CMYKcmyk(21.4%, 29.9%, 0%, 8.2%)
CIE-LABlab(71.34, 21.41, -32.51)
CIE-LCHlch(71.34, 38.93, 303.37°)
OKLaboklab(76.12% 0.0458 -0.0897)
OKLCHoklch(76.12% 0.101 297.1)
XYZxyz(47.8906, 42.6814, 83.5412)
Luminance0.4268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A4EA #D6EAA4
analogous
#A4B3EA #B8A4EA #DBA4EA
triadic
#B8A4EA #EAB8A4 #A4EAB8
tetradic
#B8A4EA #EAA4B3 #D6EAA4 #A4EADB
square
#B8A4EA #EAA4B3 #D6EAA4 #A4EADB
split-complementary
#B8A4EA #EADBA4 #B3EAA4
monochromatic
#6A41D3 #9172DF #B8A4EA #DFD6F5 #ECE6F9

Accessibility & contrast

On white

2.20
#B8A4EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#B8A4EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A4EA
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A4EA#FFFFFF#000000##000000
##B8A4EA1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AFED
Deuteranopia (green-blind)
#97AEE8
Tritanopia (blue-blind)
#AFAFBD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8a4ea;
/* rgb */ color: rgb(184, 164, 234);
/* oklch */ color: oklch(76.1% 0.101 297.1);
Tailwind
colors: {
  custom: {
    50: '#cebff1',
    500: '#b8a4ea',
    950: '#000000',
  },
}
SCSS
$custom: #b8a4ea;
$custom-light: #cebff1;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a4ea",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 234
  },
  "hsl": {
    "h": 257.143,
    "s": 62.5,
    "l": 78.039
  },
  "oklch": {
    "l": 0.76122,
    "c": 0.10073,
    "h": 297.1
  },
  "luminance": 0.42682
}

Semantic roles & 50–950 ramp

primary
#B8A4EA
secondary
#EAF1DA
accent
#CA1B98
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #B8A4EA

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

Preview Lab → · Contrast checker → · Palette generator →

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