#BA3AAE#BA3AAE

#BA3AAE is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.6% C 0.207 H 331.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BA3AAE
RGBrgb(186, 58, 174)
HSLhsl(306, 52%, 48%)
HSVhsv(306, 69%, 73%)
CMYKcmyk(0%, 68.8%, 6.5%, 27.1%)
CIE-LABlab(47.65, 63.79, -35.47)
CIE-LCHlch(47.65, 72.98, 330.93°)
OKLaboklab(57.59% 0.1828 -0.0974)
OKLCHoklch(57.59% 0.207 331.9)
XYZxyz(29.4028, 16.5235, 41.6770)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3AAE #3ABA46
analogous
#863ABA #BA3AAE #BA3A6E
triadic
#BA3AAE #AEBA3A #3AAEBA
tetradic
#BA3AAE #BA863A #3ABA46 #3A6EBA
square
#BA3AAE #BA863A #3ABA46 #3A6EBA
split-complementary
#BA3AAE #6EBA3A #3ABA86
monochromatic
#5D1D57 #8B2B82 #BA3AAE #CE63C4 #DD92D6

Accessibility & contrast

On white

4.88
#BA3AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#BA3AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3AAE
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3AAE#FFFFFF#000000##FFFFFF
##BA3AAE1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3365B1
Deuteranopia (green-blind)
#6177AB
Tritanopia (blue-blind)
#C2476F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba3aae;
/* rgb */ color: rgb(186, 58, 174);
/* oklch */ color: oklch(57.6% 0.207 331.9);
Tailwind
colors: {
  custom: {
    50: '#d27bc6',
    500: '#ba3aae',
    950: '#000000',
  },
}
SCSS
$custom: #ba3aae;
$custom-light: #d27bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3aae",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 174
  },
  "hsl": {
    "h": 305.625,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57592,
    "c": 0.20709,
    "h": 331.9
  },
  "luminance": 0.16521
}

Semantic roles & 50–950 ramp

primary
#BA3AAE
secondary
#88C88E
accent
#DC594C
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA3AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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