#B8A4E2#B8A4E2

#B8A4E2 is a light, moderate violet. Relative luminance 0.422; OKLCH L 75.8% C 0.090 H 299.0°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#B8A4E2
RGBrgb(184, 164, 226)
HSLhsl(259, 52%, 76%)
HSVhsv(259, 27%, 89%)
CMYKcmyk(18.6%, 27.4%, 0%, 11.4%)
CIE-LABlab(71.03, 19.60, -28.61)
CIE-LCHlch(71.03, 34.68, 304.41°)
OKLaboklab(75.78% 0.0437 -0.0786)
OKLCHoklch(75.78% 0.09 299)
XYZxyz(46.7672, 42.2321, 77.6245)
Luminance0.4223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A4E2 #CEE2A4
analogous
#A4AFE2 #B8A4E2 #D7A4E2
triadic
#B8A4E2 #E2B8A4 #A4E2B8
tetradic
#B8A4E2 #E2A4AF #CEE2A4 #A4E2D7
square
#B8A4E2 #E2A4AF #CEE2A4 #A4E2D7
split-complementary
#B8A4E2 #E2D7A4 #AFE2A4
monochromatic
#7047C4 #9476D3 #B8A4E2 #DCD2F1 #EDE8F8

Accessibility & contrast

On white

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

On black

9.45
#B8A4E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A4E2
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A4E2#FFFFFF#000000##000000
##B8A4E21.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#97AEE5
Deuteranopia (green-blind)
#9AADE0
Tritanopia (blue-blind)
#B1ADBA
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b8a4e2;
/* rgb */ color: rgb(184, 164, 226);
/* oklch */ color: oklch(75.8% 0.090 299.0);
Tailwind
colors: {
  custom: {
    50: '#cebfeb',
    500: '#b8a4e2',
    950: '#000000',
  },
}
SCSS
$custom: #b8a4e2;
$custom-light: #cebfeb;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a4e2",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 226
  },
  "hsl": {
    "h": 259.355,
    "s": 51.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75784,
    "c": 0.08992,
    "h": 299
  },
  "luminance": 0.42232
}

Semantic roles & 50–950 ramp

primary
#B8A4E2
secondary
#E9EFDC
accent
#BF268E
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B8A4E2

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

Preview Lab → · Contrast checker → · Palette generator →

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