#B4A1EB#B4A1EB

#B4A1EB is a light, moderate violet. Relative luminance 0.412; OKLCH L 75.3% C 0.106 H 295.5°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#B4A1EB
RGBrgb(180, 161, 235)
HSLhsl(255, 65%, 78%)
HSVhsv(255, 31%, 92%)
CMYKcmyk(23.4%, 31.5%, 0%, 7.8%)
CIE-LABlab(70.31, 22.12, -34.68)
CIE-LCHlch(70.31, 41.13, 302.54°)
OKLaboklab(75.26% 0.0458 -0.0959)
OKLCHoklch(75.26% 0.106 295.5)
XYZxyz(46.5592, 41.1907, 84.0788)
Luminance0.4119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A1EB #D8EBA1
analogous
#A1B3EB #B4A1EB #D9A1EB
triadic
#B4A1EB #EBB4A1 #A1EBB4
tetradic
#B4A1EB #EBA1B3 #D8EBA1 #A1EBD9
square
#B4A1EB #EBA1B3 #D8EBA1 #A1EBD9
split-complementary
#B4A1EB #EBD9A1 #B3EBA1
monochromatic
#633CD6 #8C6FE0 #B4A1EB #DCD3F6 #EBE6FA

Accessibility & contrast

On white

2.27
#B4A1EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#B4A1EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A1EB
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A1EB#FFFFFF#000000##000000
##B4A1EB1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FACEE
Deuteranopia (green-blind)
#91ABE9
Tritanopia (blue-blind)
#A9ADBC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b4a1eb;
/* rgb */ color: rgb(180, 161, 235);
/* oklch */ color: oklch(75.3% 0.106 295.5);
Tailwind
colors: {
  custom: {
    50: '#cbbdf1',
    500: '#b4a1eb',
    950: '#000000',
  },
}
SCSS
$custom: #b4a1eb;
$custom-light: #cbbdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a1eb",
  "rgb": {
    "r": 180,
    "g": 161,
    "b": 235
  },
  "hsl": {
    "h": 255.405,
    "s": 64.912,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75264,
    "c": 0.10632,
    "h": 295.5
  },
  "luminance": 0.41191
}

Semantic roles & 50–950 ramp

primary
#B4A1EB
secondary
#EBF1DA
accent
#CD199F
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #B4A1EB

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

Preview Lab → · Contrast checker → · Palette generator →

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