#BA3ABD#BA3ABD

#BA3ABD is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.4% C 0.219 H 327.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#BA3ABD
RGBrgb(186, 58, 189)
HSLhsl(299, 53%, 48%)
HSVhsv(299, 69%, 74%)
CMYKcmyk(1.6%, 69.3%, 0%, 25.9%)
CIE-LABlab(48.44, 66.23, -43.01)
CIE-LCHlch(48.44, 78.97, 327.00°)
OKLaboklab(58.41% 0.1833 -0.1192)
OKLCHoklch(58.41% 0.219 327)
XYZxyz(30.9476, 17.1414, 49.8129)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3ABD #3DBD3A
analogous
#783ABD #BA3ABD #BD3A7E
triadic
#BA3ABD #BDBA3A #3ABDBA
tetradic
#BA3ABD #BD783A #3DBD3A #3A7EBD
square
#BA3ABD #BD783A #3DBD3A #3A7EBD
split-complementary
#BA3ABD #7EBD3A #3ABD78
monochromatic
#5E1D5F #8C2C8E #BA3ABD #CD65D0 #DC93DE

Accessibility & contrast

On white

4.74
#BA3ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#BA3ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3ABD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3ABD#FFFFFF#000000##FFFFFF
##BA3ABD1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2169C1
Deuteranopia (green-blind)
#5979BA
Tritanopia (blue-blind)
#BF4E78
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba3abd;
/* rgb */ color: rgb(186, 58, 189);
/* oklch */ color: oklch(58.4% 0.219 327.0);
Tailwind
colors: {
  custom: {
    50: '#d27cd1',
    500: '#ba3abd',
    950: '#000000',
  },
}
SCSS
$custom: #ba3abd;
$custom-light: #d27cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3abd",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 189
  },
  "hsl": {
    "h": 298.626,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5841,
    "c": 0.2187,
    "h": 327
  },
  "luminance": 0.17139
}

Semantic roles & 50–950 ramp

primary
#BA3ABD
secondary
#8BC98A
accent
#DC4B4F
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BA3ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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