#B5A1FA#B5A1FA

#B5A1FA is a light, vivid violet. Relative luminance 0.422; OKLCH L 76.0% C 0.127 H 293.5°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#B5A1FA
RGBrgb(181, 161, 250)
HSLhsl(253, 90%, 81%)
HSVhsv(253, 36%, 98%)
CMYKcmyk(27.6%, 35.6%, 0%, 2%)
CIE-LABlab(71.02, 25.98, -41.74)
CIE-LCHlch(71.02, 49.16, 301.90°)
OKLaboklab(76.03% 0.0505 -0.1162)
OKLCHoklch(76.03% 0.127 293.5)
XYZxyz(49.0520, 42.2149, 95.9879)
Luminance0.4222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A1FA #E6FAA1
analogous
#A1B9FA #B5A1FA #E1A1FA
triadic
#B5A1FA #FAB5A1 #A1FAB5
tetradic
#B5A1FA #FAA1B9 #E6FAA1 #A1FAE1
square
#B5A1FA #FAA1B9 #E6FAA1 #A1FAE1
split-complementary
#B5A1FA #FAE1A1 #B9FAA1
monochromatic
#5A2DF4 #8767F7 #B5A1FA #E3DBFD #E8E2FD

Accessibility & contrast

On white

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

On black

9.44
#B5A1FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A1FA
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A1FA#FFFFFF#000000##000000
##B5A1FA1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AFFE
Deuteranopia (green-blind)
#8BACF8
Tritanopia (blue-blind)
#A6B0C2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b5a1fa;
/* rgb */ color: rgb(181, 161, 250);
/* oklch */ color: oklch(76.0% 0.127 293.5);
Tailwind
colors: {
  custom: {
    50: '#cdbdfc',
    500: '#b5a1fa',
    950: '#000000',
  },
}
SCSS
$custom: #b5a1fa;
$custom-light: #cdbdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a1fa",
  "rgb": {
    "r": 181,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 253.483,
    "s": 89.899,
    "l": 80.588
  },
  "oklch": {
    "l": 0.76033,
    "c": 0.12671,
    "h": 293.5
  },
  "luminance": 0.42216
}

Semantic roles & 50–950 ramp

primary
#B5A1FA
secondary
#EEF6D5
accent
#E600B2
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B5A1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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