#B5A4FA#B5A4FA

#B5A4FA is a light, vivid violet. Relative luminance 0.433; OKLCH L 76.6% C 0.122 H 292.3°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#B5A4FA
RGBrgb(181, 164, 250)
HSLhsl(252, 90%, 81%)
HSVhsv(252, 34%, 98%)
CMYKcmyk(27.6%, 34.4%, 0%, 2%)
CIE-LABlab(71.74, 24.30, -40.61)
CIE-LCHlch(71.74, 47.33, 300.90°)
OKLaboklab(76.59% 0.0464 -0.113)
OKLCHoklch(76.59% 0.122 292.3)
XYZxyz(49.5826, 43.2760, 96.1648)
Luminance0.4328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A4FA #E9FAA4
analogous
#A4BEFA #B5A4FA #E0A4FA
triadic
#B5A4FA #FAB5A4 #A4FAB5
tetradic
#B5A4FA #FAA4BE #E9FAA4 #A4FAE0
square
#B5A4FA #FAA4BE #E9FAA4 #A4FAE0
split-complementary
#B5A4FA #FAE0A4 #BEFAA4
monochromatic
#5730F4 #866AF7 #B5A4FA #E4DEFD #E7E2FD

Accessibility & contrast

On white

2.17
#B5A4FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#B5A4FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A4FA
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A4FA#FFFFFF#000000##000000
##B5A4FA1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB1FD
Deuteranopia (green-blind)
#8EAEF8
Tritanopia (blue-blind)
#A6B3C4
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b5a4fa;
/* rgb */ color: rgb(181, 164, 250);
/* oklch */ color: oklch(76.6% 0.122 292.3);
Tailwind
colors: {
  custom: {
    50: '#cdbffc',
    500: '#b5a4fa',
    950: '#000000',
  },
}
SCSS
$custom: #b5a4fa;
$custom-light: #cdbffc;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a4fa",
  "rgb": {
    "r": 181,
    "g": 164,
    "b": 250
  },
  "hsl": {
    "h": 251.86,
    "s": 89.583,
    "l": 81.176
  },
  "oklch": {
    "l": 0.76586,
    "c": 0.12214,
    "h": 292.3
  },
  "luminance": 0.43277
}

Semantic roles & 50–950 ramp

primary
#B5A4FA
secondary
#EFF5D6
accent
#E600B8
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B5A4FA

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

Preview Lab → · Contrast checker → · Palette generator →

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