#B8A4EE#B8A4EE

#B8A4EE is a light, moderate violet. Relative luminance 0.429; OKLCH L 76.3% C 0.106 H 296.2°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#B8A4EE
RGBrgb(184, 164, 238)
HSLhsl(256, 69%, 79%)
HSVhsv(256, 31%, 93%)
CMYKcmyk(22.7%, 31.1%, 0%, 6.7%)
CIE-LABlab(71.50, 22.33, -34.45)
CIE-LCHlch(71.50, 41.05, 302.95°)
OKLaboklab(76.3% 0.0469 -0.0952)
OKLCHoklch(76.3% 0.106 296.2)
XYZxyz(48.4717, 42.9139, 86.6019)
Luminance0.4291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A4EE #DAEEA4
analogous
#A4B5EE #B8A4EE #DDA4EE
triadic
#B8A4EE #EEB8A4 #A4EEB8
tetradic
#B8A4EE #EEA4B5 #DAEEA4 #A4EEDD
square
#B8A4EE #EEA4B5 #DAEEA4 #A4EEDD
split-complementary
#B8A4EE #EEDDA4 #B5EEA4
monochromatic
#683DDB #9070E4 #B8A4EE #E0D8F8 #EBE5FA

Accessibility & contrast

On white

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

On black

9.58
#B8A4EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A4EE
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A4EE#FFFFFF#000000##000000
##B8A4EE1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B0F1
Deuteranopia (green-blind)
#95AEEC
Tritanopia (blue-blind)
#ADB0BF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8a4ee;
/* rgb */ color: rgb(184, 164, 238);
/* oklch */ color: oklch(76.3% 0.106 296.2);
Tailwind
colors: {
  custom: {
    50: '#cebff3',
    500: '#b8a4ee',
    950: '#000000',
  },
}
SCSS
$custom: #b8a4ee;
$custom-light: #cebff3;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a4ee",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 238
  },
  "hsl": {
    "h": 256.216,
    "s": 68.519,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76295,
    "c": 0.10614,
    "h": 296.2
  },
  "luminance": 0.42914
}

Semantic roles & 50–950 ramp

primary
#B8A4EE
secondary
#EBF2D9
accent
#D0159E
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #B8A4EE

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

Preview Lab → · Contrast checker → · Palette generator →

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