#B8A1EB#B8A1EB

#B8A1EB is a light, moderate violet. Relative luminance 0.417; OKLCH L 75.6% C 0.107 H 298.1°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#B8A1EB
RGBrgb(184, 161, 235)
HSLhsl(259, 65%, 78%)
HSVhsv(259, 31%, 92%)
CMYKcmyk(21.7%, 31.5%, 0%, 7.8%)
CIE-LABlab(70.65, 23.31, -34.13)
CIE-LCHlch(70.65, 41.33, 304.34°)
OKLaboklab(75.61% 0.0503 -0.0943)
OKLCHoklch(75.61% 0.107 298.1)
XYZxyz(47.5041, 41.6780, 84.1231)
Luminance0.4168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A1EB #D4EBA1
analogous
#A1AFEB #B8A1EB #DDA1EB
triadic
#B8A1EB #EBB8A1 #A1EBB8
tetradic
#B8A1EB #EBA1AF #D4EBA1 #A1EBDD
square
#B8A1EB #EBA1AF #D4EBA1 #A1EBDD
split-complementary
#B8A1EB #EBDDA1 #AFEBA1
monochromatic
#6C3CD6 #926FE0 #B8A1EB #DED3F6 #ECE6FA

Accessibility & contrast

On white

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

On black

9.34
#B8A1EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A1EB
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A1EB#FFFFFF#000000##000000
##B8A1EB1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90ADEE
Deuteranopia (green-blind)
#93ACE9
Tritanopia (blue-blind)
#AEADBC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b8a1eb;
/* rgb */ color: rgb(184, 161, 235);
/* oklch */ color: oklch(75.6% 0.107 298.1);
Tailwind
colors: {
  custom: {
    50: '#cebdf1',
    500: '#b8a1eb',
    950: '#000000',
  },
}
SCSS
$custom: #b8a1eb;
$custom-light: #cebdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a1eb",
  "rgb": {
    "r": 184,
    "g": 161,
    "b": 235
  },
  "hsl": {
    "h": 258.649,
    "s": 64.912,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75605,
    "c": 0.10687,
    "h": 298.1
  },
  "luminance": 0.41678
}

Semantic roles & 50–950 ramp

primary
#B8A1EB
secondary
#EAF1DA
accent
#CD1995
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #B8A1EB

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

Preview Lab → · Contrast checker → · Palette generator →

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