#BAA2DB#BAA2DB

#BAA2DB is a light, moderate violet. Relative luminance 0.414; OKLCH L 75.3% C 0.084 H 303.7°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#BAA2DB
RGBrgb(186, 162, 219)
HSLhsl(265, 44%, 75%)
HSVhsv(265, 26%, 86%)
CMYKcmyk(15.1%, 26%, 0%, 14.1%)
CIE-LABlab(70.45, 19.80, -25.65)
CIE-LCHlch(70.45, 32.40, 307.66°)
OKLaboklab(75.29% 0.0468 -0.0702)
OKLCHoklch(75.29% 0.084 303.7)
XYZxyz(45.9537, 41.3943, 72.5731)
Luminance0.4139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA2DB #C3DBA2
analogous
#A2A7DB #BAA2DB #D7A2DB
triadic
#BAA2DB #DBBAA2 #A2DBBA
tetradic
#BAA2DB #DBA2A7 #C3DBA2 #A2DBD7
square
#BAA2DB #DBA2A7 #C3DBA2 #A2DBD7
split-complementary
#BAA2DB #DBD7A2 #A7DBA2
monochromatic
#794AB9 #9976CA #BAA2DB #DBCEEC #EFE9F6

Accessibility & contrast

On white

2.26
#BAA2DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#BAA2DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA2DB
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA2DB#FFFFFF#000000##000000
##BAA2DB1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97ACDD
Deuteranopia (green-blind)
#9BACD9
Tritanopia (blue-blind)
#B5AAB6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #baa2db;
/* rgb */ color: rgb(186, 162, 219);
/* oklch */ color: oklch(75.3% 0.084 303.7);
Tailwind
colors: {
  custom: {
    50: '#cfbde6',
    500: '#baa2db',
    950: '#000000',
  },
}
SCSS
$custom: #baa2db;
$custom-light: #cfbde6;
$custom-dark: #000000;
JSON
{
  "hex": "#baa2db",
  "rgb": {
    "r": 186,
    "g": 162,
    "b": 219
  },
  "hsl": {
    "h": 265.263,
    "s": 44.186,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75293,
    "c": 0.08434,
    "h": 303.7
  },
  "luminance": 0.41394
}

Semantic roles & 50–950 ramp

primary
#BAA2DB
secondary
#E7EDDE
accent
#B72E7E
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #BAA2DB

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

Preview Lab → · Contrast checker → · Palette generator →

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