#B8A4E9#B8A4E9

#B8A4E9 is a light, moderate violet. Relative luminance 0.426; OKLCH L 76.1% C 0.099 H 297.3°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#B8A4E9
RGBrgb(184, 164, 233)
HSLhsl(257, 61%, 78%)
HSVhsv(257, 30%, 91%)
CMYKcmyk(21%, 29.6%, 0%, 8.6%)
CIE-LABlab(71.30, 21.18, -32.03)
CIE-LCHlch(71.30, 38.40, 303.48°)
OKLaboklab(76.08% 0.0456 -0.0883)
OKLCHoklch(76.08% 0.099 297.3)
XYZxyz(47.7473, 42.6241, 82.7868)
Luminance0.4262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A4E9 #D5E9A4
analogous
#A4B2E9 #B8A4E9 #DAA4E9
triadic
#B8A4E9 #E9B8A4 #A4E9B8
tetradic
#B8A4E9 #E9A4B2 #D5E9A4 #A4E9DA
square
#B8A4E9 #E9A4B2 #D5E9A4 #A4E9DA
split-complementary
#B8A4E9 #E9DAA4 #B2E9A4
monochromatic
#6B41D1 #9273DD #B8A4E9 #DED5F5 #ECE6F9

Accessibility & contrast

On white

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

On black

9.52
#B8A4E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A4E9
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A4E9#FFFFFF#000000##000000
##B8A4E91.002.209.529.52
#FFFFFF2.201.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8a4e9;
/* rgb */ color: rgb(184, 164, 233);
/* oklch */ color: oklch(76.1% 0.099 297.3);
Tailwind
colors: {
  custom: {
    50: '#cebff0',
    500: '#b8a4e9',
    950: '#000000',
  },
}
SCSS
$custom: #b8a4e9;
$custom-light: #cebff0;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a4e9",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 233
  },
  "hsl": {
    "h": 257.391,
    "s": 61.062,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76079,
    "c": 0.09937,
    "h": 297.3
  },
  "luminance": 0.42624
}

Semantic roles & 50–950 ramp

primary
#B8A4E9
secondary
#EAF0DB
accent
#C91D97
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #B8A4E9

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

Preview Lab → · Contrast checker → · Palette generator →

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