#B2A1DB#B2A1DB

#B2A1DB is a light, moderate violet. Relative luminance 0.401; OKLCH L 74.4% C 0.084 H 297.8°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#B2A1DB
RGBrgb(178, 161, 219)
HSLhsl(258, 45%, 75%)
HSVhsv(258, 26%, 86%)
CMYKcmyk(18.7%, 26.5%, 0%, 14.1%)
CIE-LABlab(69.52, 17.85, -27.14)
CIE-LCHlch(69.52, 32.48, 303.33°)
OKLaboklab(74.41% 0.0392 -0.0745)
OKLCHoklch(74.41% 0.084 297.8)
XYZxyz(43.8884, 40.0690, 72.4260)
Luminance0.4007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A1DB #CADBA1
analogous
#A1ADDB #B2A1DB #CFA1DB
triadic
#B2A1DB #DBB2A1 #A1DBB2
tetradic
#B2A1DB #DBA1AD #CADBA1 #A1DBCF
square
#B2A1DB #DBA1AD #CADBA1 #A1DBCF
split-complementary
#B2A1DB #DBCFA1 #ADDBA1
monochromatic
#6A48B9 #8E75CA #B2A1DB #D6CDEC #EDE9F7

Accessibility & contrast

On white

2.33
#B2A1DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#B2A1DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A1DB
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A1DB#FFFFFF#000000##000000
##B2A1DB1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AADD
Deuteranopia (green-blind)
#97A9D9
Tritanopia (blue-blind)
#ABAAB5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b2a1db;
/* rgb */ color: rgb(178, 161, 219);
/* oklch */ color: oklch(74.4% 0.084 297.8);
Tailwind
colors: {
  custom: {
    50: '#c9bce6',
    500: '#b2a1db',
    950: '#000000',
  },
}
SCSS
$custom: #b2a1db;
$custom-light: #c9bce6;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a1db",
  "rgb": {
    "r": 178,
    "g": 161,
    "b": 219
  },
  "hsl": {
    "h": 257.586,
    "s": 44.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7441,
    "c": 0.08421,
    "h": 297.8
  },
  "luminance": 0.40069
}

Semantic roles & 50–950 ramp

primary
#B2A1DB
secondary
#E9EDDE
accent
#B82E8F
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B2A1DB

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

Preview Lab → · Contrast checker → · Palette generator →

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