#BA4AAE#BA4AAE

#BA4AAE is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.3% C 0.186 H 332.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BA4AAE
RGBrgb(186, 74, 174)
HSLhsl(306, 45%, 51%)
HSVhsv(306, 60%, 73%)
CMYKcmyk(0%, 60.2%, 6.5%, 27.1%)
CIE-LABlab(49.97, 57.35, -31.83)
CIE-LCHlch(49.97, 65.59, 330.97°)
OKLaboklab(59.28% 0.1641 -0.0871)
OKLCHoklch(59.28% 0.186 332)
XYZxyz(30.3384, 18.3948, 41.9888)
Luminance0.1839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4AAE #4ABA56
analogous
#8E4ABA #BA4AAE #BA4A76
triadic
#BA4AAE #AEBA4A #4AAEBA
tetradic
#BA4AAE #BA8E4A #4ABA56 #4A76BA
square
#BA4AAE #BA8E4A #4ABA56 #4A76BA
split-complementary
#BA4AAE #76BA4A #4ABA8E
monochromatic
#64265D #903786 #BA4AAE #CB76C2 #DCA3D6

Accessibility & contrast

On white

4.49
#BA4AAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#BA4AAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4AAE
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4AAE#FFFFFF#000000##000000
##BA4AAE1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#456DB1
Deuteranopia (green-blind)
#6A7DAB
Tritanopia (blue-blind)
#C15475
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba4aae;
/* rgb */ color: rgb(186, 74, 174);
/* oklch */ color: oklch(59.3% 0.186 332.0);
Tailwind
colors: {
  custom: {
    50: '#d283c6',
    500: '#ba4aae',
    950: '#000000',
  },
}
SCSS
$custom: #ba4aae;
$custom-light: #d283c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4aae",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 174
  },
  "hsl": {
    "h": 306.429,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59276,
    "c": 0.18577,
    "h": 332
  },
  "luminance": 0.18393
}

Semantic roles & 50–950 ramp

primary
#BA4AAE
secondary
#97C99C
accent
#D56153
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA4AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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