#BAB2DB#BAB2DB

#BAB2DB is a light, muted violet. Relative luminance 0.474; OKLCH L 78.4% C 0.058 H 294.0°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#BAB2DB
RGBrgb(186, 178, 219)
HSLhsl(252, 36%, 78%)
HSVhsv(252, 19%, 86%)
CMYKcmyk(15.1%, 18.7%, 0%, 14.1%)
CIE-LABlab(74.44, 10.96, -19.57)
CIE-LCHlch(74.44, 22.43, 299.25°)
OKLaboklab(78.38% 0.0237 -0.0532)
OKLCHoklch(78.38% 0.058 294)
XYZxyz(48.9536, 47.3940, 73.5730)
Luminance0.4739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB2DB #D3DBB2
analogous
#B2BEDB #BAB2DB #CEB2DB
triadic
#BAB2DB #DBBAB2 #B2DBBA
tetradic
#BAB2DB #DBB2BE #D3DBB2 #B2DBCE
square
#BAB2DB #DBB2BE #D3DBB2 #B2DBCE
split-complementary
#BAB2DB #DBCEB2 #BEDBB2
monochromatic
#6F5FB4 #9588C8 #BAB2DB #DFDCEE #ECEAF5

Accessibility & contrast

On white

2.00
#BAB2DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#BAB2DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB2DB
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB2DB#FFFFFF#000000##000000
##BAB2DB1.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9B8DD
Deuteranopia (green-blind)
#AAB6DA
Tritanopia (blue-blind)
#B4B8C0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #bab2db;
/* rgb */ color: rgb(186, 178, 219);
/* oklch */ color: oklch(78.4% 0.058 294.0);
Tailwind
colors: {
  custom: {
    50: '#cfc9e6',
    500: '#bab2db',
    950: '#000000',
  },
}
SCSS
$custom: #bab2db;
$custom-light: #cfc9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#bab2db",
  "rgb": {
    "r": 186,
    "g": 178,
    "b": 219
  },
  "hsl": {
    "h": 251.707,
    "s": 36.283,
    "l": 77.843
  },
  "oklch": {
    "l": 0.78379,
    "c": 0.05825,
    "h": 294
  },
  "luminance": 0.47394
}

Semantic roles & 50–950 ramp

primary
#BAB2DB
secondary
#E9ECDF
accent
#AF3698
background
#FCFCFE
surface
#F9F8FC
border
#D2D1D5
text
#131316
muted
#828284

Preview Lab

Preview with #BAB2DB

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

Preview Lab → · Contrast checker → · Palette generator →

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