#BA3ABE#BA3ABE

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

Color values

HEX#BA3ABE
RGBrgb(186, 58, 190)
HSLhsl(298, 53%, 49%)
HSVhsv(298, 69%, 75%)
CMYKcmyk(2.1%, 69.5%, 0%, 25.5%)
CIE-LABlab(48.49, 66.40, -43.50)
CIE-LCHlch(48.49, 79.38, 326.77°)
OKLaboklab(58.47% 0.1834 -0.1207)
OKLCHoklch(58.47% 0.22 326.6)
XYZxyz(31.0565, 17.1850, 50.3865)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3ABE #3EBE3A
analogous
#783ABE #BA3ABE #BE3A80
triadic
#BA3ABE #BEBA3A #3ABEBA
tetradic
#BA3ABE #BE783A #3EBE3A #3A80BE
square
#BA3ABE #BE783A #3EBE3A #3A80BE
split-complementary
#BA3ABE #80BE3A #3ABE78
monochromatic
#5E1D60 #8C2C8F #BA3ABE #CD65D0 #DC94DE

Accessibility & contrast

On white

4.73
#BA3ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#BA3ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3ABE
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3ABE#FFFFFF#000000##FFFFFF
##BA3ABE1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F69C2
Deuteranopia (green-blind)
#5979BB
Tritanopia (blue-blind)
#BF4E78
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba3abe;
/* rgb */ color: rgb(186, 58, 190);
/* oklch */ color: oklch(58.5% 0.220 326.6);
Tailwind
colors: {
  custom: {
    50: '#d27cd2',
    500: '#ba3abe',
    950: '#000000',
  },
}
SCSS
$custom: #ba3abe;
$custom-light: #d27cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3abe",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 190
  },
  "hsl": {
    "h": 298.182,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58467,
    "c": 0.2195,
    "h": 326.6
  },
  "luminance": 0.17183
}

Semantic roles & 50–950 ramp

primary
#BA3ABE
secondary
#8CCA8A
accent
#DD4B50
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BA3ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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