#B8A1FF#B8A1FF

#B8A1FF is a light, vivid violet. Relative luminance 0.429; OKLCH L 76.5% C 0.134 H 294.3°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#B8A1FF
RGBrgb(184, 161, 255)
HSLhsl(255, 100%, 82%)
HSVhsv(255, 37%, 100%)
CMYKcmyk(27.8%, 36.9%, 0%, 0%)
CIE-LABlab(71.49, 28.02, -43.70)
CIE-LCHlch(71.49, 51.91, 302.67°)
OKLaboklab(76.52% 0.0549 -0.1218)
OKLCHoklch(76.52% 0.134 294.3)
XYZxyz(50.5576, 42.8994, 100.2051)
Luminance0.4290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A1FF #E8FFA1
analogous
#A1B9FF #B8A1FF #E7A1FF
triadic
#B8A1FF #FFB8A1 #A1FFB8
tetradic
#B8A1FF #FFA1B9 #E8FFA1 #A1FFE7
square
#B8A1FF #FFA1B9 #E8FFA1 #A1FFE7
split-complementary
#B8A1FF #FFE7A1 #B9FFA1
monochromatic
#5C27FF #8A64FF #B8A1FF #E6DEFF #E8E0FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A1FF#FFFFFF#000000##000000
##B8A1FF1.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)
#87B0FF
Deuteranopia (green-blind)
#8AAEFD
Tritanopia (blue-blind)
#A9B1C4
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8a1ff;
/* rgb */ color: rgb(184, 161, 255);
/* oklch */ color: oklch(76.5% 0.134 294.3);
Tailwind
colors: {
  custom: {
    50: '#cfbdff',
    500: '#b8a1ff',
    950: '#000000',
  },
}
SCSS
$custom: #b8a1ff;
$custom-light: #cfbdff;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a1ff",
  "rgb": {
    "r": 184,
    "g": 161,
    "b": 255
  },
  "hsl": {
    "h": 254.681,
    "s": 100,
    "l": 81.569
  },
  "oklch": {
    "l": 0.76522,
    "c": 0.13364,
    "h": 294.3
  },
  "luminance": 0.429
}

Semantic roles & 50–950 ramp

primary
#B8A1FF
secondary
#EFF7D4
accent
#E600AD
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141218
muted
#828186

Preview Lab

Preview with #B8A1FF

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

Preview Lab → · Contrast checker → · Palette generator →

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