#B8A4E5#B8A4E5

#B8A4E5 is a light, moderate violet. Relative luminance 0.424; OKLCH L 75.9% C 0.094 H 298.3°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#B8A4E5
RGBrgb(184, 164, 229)
HSLhsl(258, 56%, 77%)
HSVhsv(258, 28%, 90%)
CMYKcmyk(19.7%, 28.4%, 0%, 10.2%)
CIE-LABlab(71.14, 20.28, -30.08)
CIE-LCHlch(71.14, 36.27, 303.98°)
OKLaboklab(75.91% 0.0445 -0.0828)
OKLCHoklch(75.91% 0.094 298.3)
XYZxyz(47.1824, 42.3982, 79.8115)
Luminance0.4240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A4E5 #D1E5A4
analogous
#A4B0E5 #B8A4E5 #D9A4E5
triadic
#B8A4E5 #E5B8A4 #A4E5B8
tetradic
#B8A4E5 #E5A4B0 #D1E5A4 #A4E5D9
square
#B8A4E5 #E5A4B0 #D1E5A4 #A4E5D9
split-complementary
#B8A4E5 #E5D9A4 #B0E5A4
monochromatic
#6E45CA #9374D7 #B8A4E5 #DDD4F3 #ECE7F8

Accessibility & contrast

On white

2.22
#B8A4E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#B8A4E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A4E5
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A4E5#FFFFFF#000000##000000
##B8A4E51.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96AEE8
Deuteranopia (green-blind)
#99AEE3
Tritanopia (blue-blind)
#B0AEBB
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b8a4e5;
/* rgb */ color: rgb(184, 164, 229);
/* oklch */ color: oklch(75.9% 0.094 298.3);
Tailwind
colors: {
  custom: {
    50: '#cebfed',
    500: '#b8a4e5',
    950: '#000000',
  },
}
SCSS
$custom: #b8a4e5;
$custom-light: #cebfed;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a4e5",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 229
  },
  "hsl": {
    "h": 258.462,
    "s": 55.556,
    "l": 77.059
  },
  "oklch": {
    "l": 0.75909,
    "c": 0.09397,
    "h": 298.3
  },
  "luminance": 0.42398
}

Semantic roles & 50–950 ramp

primary
#B8A4E5
secondary
#E9EFDC
accent
#C32292
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B8A4E5

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

Preview Lab → · Contrast checker → · Palette generator →

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