#B2A8DB#B2A8DB

#B2A8DB is a light, moderate violet. Relative luminance 0.426; OKLCH L 75.8% C 0.073 H 293.6°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#B2A8DB
RGBrgb(178, 168, 219)
HSLhsl(252, 41%, 76%)
HSVhsv(252, 23%, 86%)
CMYKcmyk(18.7%, 23.3%, 0%, 14.1%)
CIE-LABlab(71.27, 13.95, -24.45)
CIE-LCHlch(71.27, 28.15, 299.70°)
OKLaboklab(75.76% 0.0292 -0.067)
OKLCHoklch(75.76% 0.073 293.6)
XYZxyz(45.1461, 42.5843, 72.8452)
Luminance0.4259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A8DB #D1DBA8
analogous
#A8B7DB #B2A8DB #CBA8DB
triadic
#B2A8DB #DBB2A8 #A8DBB2
tetradic
#B2A8DB #DBA8B7 #D1DBA8 #A8DBCB
square
#B2A8DB #DBA8B7 #D1DBA8 #A8DBCB
split-complementary
#B2A8DB #DBCBA8 #B7DBA8
monochromatic
#6551B7 #8C7DC9 #B2A8DB #D8D3ED #ECE9F6

Accessibility & contrast

On white

2.21
#B2A8DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#B2A8DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A8DB
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A8DB#FFFFFF#000000##000000
##B2A8DB1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DAFDD
Deuteranopia (green-blind)
#9DAEDA
Tritanopia (blue-blind)
#AAB0BA
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b2a8db;
/* rgb */ color: rgb(178, 168, 219);
/* oklch */ color: oklch(75.8% 0.073 293.6);
Tailwind
colors: {
  custom: {
    50: '#c9c1e6',
    500: '#b2a8db',
    950: '#000000',
  },
}
SCSS
$custom: #b2a8db;
$custom-light: #c9c1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a8db",
  "rgb": {
    "r": 178,
    "g": 168,
    "b": 219
  },
  "hsl": {
    "h": 251.765,
    "s": 41.463,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75764,
    "c": 0.07305,
    "h": 293.6
  },
  "luminance": 0.42585
}

Semantic roles & 50–950 ramp

primary
#B2A8DB
secondary
#EAEDDE
accent
#B5319B
background
#FCFBFE
surface
#F8F7FC
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B2A8DB

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

Preview Lab → · Contrast checker → · Palette generator →

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