#BA3ABB#BA3ABB

#BA3ABB is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.3% C 0.217 H 327.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BA3ABB
RGBrgb(186, 58, 187)
HSLhsl(300, 53%, 48%)
HSVhsv(300, 69%, 73%)
CMYKcmyk(0.5%, 69%, 0%, 26.7%)
CIE-LABlab(48.33, 65.90, -42.01)
CIE-LCHlch(48.33, 78.15, 327.48°)
OKLaboklab(58.3% 0.1833 -0.1163)
OKLCHoklch(58.3% 0.217 327.6)
XYZxyz(30.7320, 17.0552, 48.6774)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3ABB #3BBB3A
analogous
#793ABB #BA3ABB #BB3A7B
triadic
#BA3ABB #BBBA3A #3ABBBA
tetradic
#BA3ABB #BB793A #3BBB3A #3A7BBB
square
#BA3ABB #BB793A #3BBB3A #3A7BBB
split-complementary
#BA3ABB #7BBB3A #3ABB79
monochromatic
#5D1D5E #8C2C8C #BA3ABB #CE63CF #DD92DD

Accessibility & contrast

On white

4.76
#BA3ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#BA3ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3ABB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3ABB#FFFFFF#000000##FFFFFF
##BA3ABB1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2468BF
Deuteranopia (green-blind)
#5B79B8
Tritanopia (blue-blind)
#C04D76
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba3abb;
/* rgb */ color: rgb(186, 58, 187);
/* oklch */ color: oklch(58.3% 0.217 327.6);
Tailwind
colors: {
  custom: {
    50: '#d27cd0',
    500: '#ba3abb',
    950: '#000000',
  },
}
SCSS
$custom: #ba3abb;
$custom-light: #d27cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3abb",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 299.535,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58297,
    "c": 0.21713,
    "h": 327.6
  },
  "luminance": 0.17053
}

Semantic roles & 50–950 ramp

primary
#BA3ABB
secondary
#89C888
accent
#DC4C4D
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BA3ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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