#B8A4EC#B8A4EC

#B8A4EC is a light, moderate violet. Relative luminance 0.428; OKLCH L 76.2% C 0.103 H 296.6°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#B8A4EC
RGBrgb(184, 164, 236)
HSLhsl(257, 65%, 78%)
HSVhsv(257, 31%, 93%)
CMYKcmyk(22%, 30.5%, 0%, 7.5%)
CIE-LABlab(71.42, 21.87, -33.48)
CIE-LCHlch(71.42, 39.99, 303.15°)
OKLaboklab(76.21% 0.0464 -0.0925)
OKLCHoklch(76.21% 0.103 296.6)
XYZxyz(48.1795, 42.7970, 85.0630)
Luminance0.4280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A4EC #D8ECA4
analogous
#A4B4EC #B8A4EC #DCA4EC
triadic
#B8A4EC #ECB8A4 #A4ECB8
tetradic
#B8A4EC #ECA4B4 #D8ECA4 #A4ECDC
square
#B8A4EC #ECA4B4 #D8ECA4 #A4ECDC
split-complementary
#B8A4EC #ECDCA4 #B4ECA4
monochromatic
#693FD7 #9071E1 #B8A4EC #E0D7F7 #EBE6FA

Accessibility & contrast

On white

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

On black

9.56
#B8A4EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A4EC
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A4EC#FFFFFF#000000##000000
##B8A4EC1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AFEF
Deuteranopia (green-blind)
#96AEEA
Tritanopia (blue-blind)
#AEB0BE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8a4ec;
/* rgb */ color: rgb(184, 164, 236);
/* oklch */ color: oklch(76.2% 0.103 296.6);
Tailwind
colors: {
  custom: {
    50: '#cebff2',
    500: '#b8a4ec',
    950: '#000000',
  },
}
SCSS
$custom: #b8a4ec;
$custom-light: #cebff2;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a4ec",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 236
  },
  "hsl": {
    "h": 256.667,
    "s": 65.455,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76208,
    "c": 0.10344,
    "h": 296.6
  },
  "luminance": 0.42797
}

Semantic roles & 50–950 ramp

primary
#B8A4EC
secondary
#EBF1DA
accent
#CD189B
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #B8A4EC

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

Preview Lab → · Contrast checker → · Palette generator →

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