#B8A1FA#B8A1FA

#B8A1FA is a light, vivid violet. Relative luminance 0.426; OKLCH L 76.3% C 0.127 H 295.1°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#B8A1FA
RGBrgb(184, 161, 250)
HSLhsl(256, 90%, 81%)
HSVhsv(256, 36%, 98%)
CMYKcmyk(26.4%, 35.6%, 0%, 2%)
CIE-LABlab(71.27, 26.82, -41.33)
CIE-LCHlch(71.27, 49.27, 302.99°)
OKLaboklab(76.29% 0.0539 -0.115)
OKLCHoklch(76.29% 0.127 295.1)
XYZxyz(49.7632, 42.5816, 96.0213)
Luminance0.4258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A1FA #E3FAA1
analogous
#A1B6FA #B8A1FA #E5A1FA
triadic
#B8A1FA #FAB8A1 #A1FAB8
tetradic
#B8A1FA #FAA1B6 #E3FAA1 #A1FAE5
square
#B8A1FA #FAA1B6 #E3FAA1 #A1FAE5
split-complementary
#B8A1FA #FAE5A1 #B6FAA1
monochromatic
#602DF4 #8C67F7 #B8A1FA #E4DBFD #E9E2FD

Accessibility & contrast

On white

2.21
#B8A1FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#B8A1FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A1FA
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A1FA#FFFFFF#000000##000000
##B8A1FA1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAFFE
Deuteranopia (green-blind)
#8DADF8
Tritanopia (blue-blind)
#AAB0C2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b8a1fa;
/* rgb */ color: rgb(184, 161, 250);
/* oklch */ color: oklch(76.3% 0.127 295.1);
Tailwind
colors: {
  custom: {
    50: '#cfbdfc',
    500: '#b8a1fa',
    950: '#000000',
  },
}
SCSS
$custom: #b8a1fa;
$custom-light: #cfbdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a1fa",
  "rgb": {
    "r": 184,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 255.506,
    "s": 89.899,
    "l": 80.588
  },
  "oklch": {
    "l": 0.76285,
    "c": 0.12697,
    "h": 295.1
  },
  "luminance": 0.42582
}

Semantic roles & 50–950 ramp

primary
#B8A1FA
secondary
#EDF6D5
accent
#E600AA
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B8A1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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