#B8A1EA#B8A1EA

#B8A1EA is a light, moderate violet. Relative luminance 0.416; OKLCH L 75.6% C 0.106 H 298.3°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#B8A1EA
RGBrgb(184, 161, 234)
HSLhsl(259, 63%, 77%)
HSVhsv(259, 31%, 92%)
CMYKcmyk(21.4%, 31.2%, 0%, 8.2%)
CIE-LABlab(70.61, 23.08, -33.64)
CIE-LCHlch(70.61, 40.80, 304.46°)
OKLaboklab(75.56% 0.0501 -0.0929)
OKLCHoklch(75.56% 0.106 298.3)
XYZxyz(47.3600, 41.6203, 83.3644)
Luminance0.4162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A1EA #D3EAA1
analogous
#A1AFEA #B8A1EA #DCA1EA
triadic
#B8A1EA #EAB8A1 #A1EAB8
tetradic
#B8A1EA #EAA1AF #D3EAA1 #A1EADC
square
#B8A1EA #EAA1AF #D3EAA1 #A1EADC
split-complementary
#B8A1EA #EADCA1 #AFEAA1
monochromatic
#6C3DD4 #926FDF #B8A1EA #DED3F5 #ECE6F9

Accessibility & contrast

On white

2.25
#B8A1EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#B8A1EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A1EA
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A1EA#FFFFFF#000000##000000
##B8A1EA1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90ADED
Deuteranopia (green-blind)
#94ACE8
Tritanopia (blue-blind)
#AFADBB
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b8a1ea;
/* rgb */ color: rgb(184, 161, 234);
/* oklch */ color: oklch(75.6% 0.106 298.3);
Tailwind
colors: {
  custom: {
    50: '#cebdf1',
    500: '#b8a1ea',
    950: '#000000',
  },
}
SCSS
$custom: #b8a1ea;
$custom-light: #cebdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a1ea",
  "rgb": {
    "r": 184,
    "g": 161,
    "b": 234
  },
  "hsl": {
    "h": 258.904,
    "s": 63.478,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75562,
    "c": 0.10554,
    "h": 298.3
  },
  "luminance": 0.41621
}

Semantic roles & 50–950 ramp

primary
#B8A1EA
secondary
#EAF1DA
accent
#CB1A93
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #B8A1EA

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

Preview Lab → · Contrast checker → · Palette generator →

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