#B4A1FA#B4A1FA

#B4A1FA is a light, vivid violet. Relative luminance 0.421; OKLCH L 75.9% C 0.127 H 292.9°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#B4A1FA
RGBrgb(180, 161, 250)
HSLhsl(253, 90%, 81%)
HSVhsv(253, 36%, 98%)
CMYKcmyk(28%, 35.6%, 0%, 2%)
CIE-LABlab(70.94, 25.70, -41.87)
CIE-LCHlch(70.94, 49.13, 301.54°)
OKLaboklab(75.95% 0.0494 -0.1166)
OKLCHoklch(75.95% 0.127 292.9)
XYZxyz(48.8183, 42.0944, 95.9770)
Luminance0.4209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A1FA #E7FAA1
analogous
#A1BAFA #B4A1FA #E0A1FA
triadic
#B4A1FA #FAB4A1 #A1FAB4
tetradic
#B4A1FA #FAA1BA #E7FAA1 #A1FAE0
square
#B4A1FA #FAA1BA #E7FAA1 #A1FAE0
split-complementary
#B4A1FA #FAE0A1 #BAFAA1
monochromatic
#572DF4 #8667F7 #B4A1FA #E2DBFD #E8E2FD

Accessibility & contrast

On white

2.23
#B4A1FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#B4A1FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A1FA
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A1FA#FFFFFF#000000##000000
##B4A1FA1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4a1fa;
/* rgb */ color: rgb(180, 161, 250);
/* oklch */ color: oklch(75.9% 0.127 292.9);
Tailwind
colors: {
  custom: {
    50: '#ccbdfc',
    500: '#b4a1fa',
    950: '#000000',
  },
}
SCSS
$custom: #b4a1fa;
$custom-light: #ccbdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a1fa",
  "rgb": {
    "r": 180,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 252.809,
    "s": 89.899,
    "l": 80.588
  },
  "oklch": {
    "l": 0.7595,
    "c": 0.12665,
    "h": 292.9
  },
  "luminance": 0.42095
}

Semantic roles & 50–950 ramp

primary
#B4A1FA
secondary
#EFF6D5
accent
#E600B5
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #B4A1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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