#BA3ABF#BA3ABF

#BA3ABF is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.5% C 0.220 H 326.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BA3ABF
RGBrgb(186, 58, 191)
HSLhsl(298, 53%, 49%)
HSVhsv(298, 70%, 75%)
CMYKcmyk(2.6%, 69.6%, 0%, 25.1%)
CIE-LABlab(48.55, 66.57, -44.00)
CIE-LCHlch(48.55, 79.79, 326.54°)
OKLaboklab(58.52% 0.1834 -0.1221)
OKLCHoklch(58.52% 0.22 326.3)
XYZxyz(31.1661, 17.2289, 50.9641)
Luminance0.1723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3ABF #3FBF3A
analogous
#783ABF #BA3ABF #BF3A82
triadic
#BA3ABF #BFBA3A #3ABFBA
tetradic
#BA3ABF #BF783A #3FBF3A #3A82BF
square
#BA3ABF #BF783A #3FBF3A #3A82BF
split-complementary
#BA3ABF #82BF3A #3ABF78
monochromatic
#5F1D61 #8C2C90 #BA3ABF #CC66D0 #DC95DF

Accessibility & contrast

On white

4.72
#BA3ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#BA3ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3ABF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3ABF#FFFFFF#000000##FFFFFF
##BA3ABF1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D69C3
Deuteranopia (green-blind)
#5879BC
Tritanopia (blue-blind)
#BF4F79
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba3abf;
/* rgb */ color: rgb(186, 58, 191);
/* oklch */ color: oklch(58.5% 0.220 326.3);
Tailwind
colors: {
  custom: {
    50: '#d27cd3',
    500: '#ba3abf',
    950: '#000000',
  },
}
SCSS
$custom: #ba3abf;
$custom-light: #d27cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3abf",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 191
  },
  "hsl": {
    "h": 297.744,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58524,
    "c": 0.22029,
    "h": 326.3
  },
  "luminance": 0.17227
}

Semantic roles & 50–950 ramp

primary
#BA3ABF
secondary
#8DCA8B
accent
#DD4B50
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA3ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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