#BA2BBD#BA2BBD

#BA2BBD is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.2% C 0.234 H 327.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#BA2BBD
RGBrgb(186, 43, 189)
HSLhsl(299, 63%, 45%)
HSVhsv(299, 77%, 74%)
CMYKcmyk(1.6%, 77.2%, 0%, 25.9%)
CIE-LABlab(46.77, 71.01, -45.66)
CIE-LCHlch(46.77, 84.42, 327.26°)
OKLaboklab(57.22% 0.1968 -0.1268)
OKLCHoklch(57.22% 0.234 327.2)
XYZxyz(30.2984, 15.8432, 49.5965)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2BBD #2EBD2B
analogous
#712BBD #BA2BBD #BD2B77
triadic
#BA2BBD #BDBA2B #2BBDBA
tetradic
#BA2BBD #BD712B #2EBD2B #2B77BD
square
#BA2BBD #BD712B #2EBD2B #2B77BD
split-complementary
#BA2BBD #77BD2B #2BBD71
monochromatic
#581459 #89208B #BA2BBD #D44ED7 #E080E2

Accessibility & contrast

On white

5.04
#BA2BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#BA2BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2BBD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2BBD#FFFFFF#000000##FFFFFF
##BA2BBD1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#5275BA
Tritanopia (blue-blind)
#BF4574
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba2bbd;
/* rgb */ color: rgb(186, 43, 189);
/* oklch */ color: oklch(57.2% 0.234 327.2);
Tailwind
colors: {
  custom: {
    50: '#d375d1',
    500: '#ba2bbd',
    950: '#000000',
  },
}
SCSS
$custom: #ba2bbd;
$custom-light: #d375d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2bbd",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 298.767,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.57217,
    "c": 0.23411,
    "h": 327.2
  },
  "luminance": 0.15841
}

Semantic roles & 50–950 ramp

primary
#BA2BBD
secondary
#7BCB79
accent
#E64245
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BA2BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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