#BA47AE#BA47AE

#BA47AE is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.9% C 0.190 H 332.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BA47AE
RGBrgb(186, 71, 174)
HSLhsl(306, 45%, 50%)
HSVhsv(306, 62%, 73%)
CMYKcmyk(0%, 61.8%, 6.5%, 27.1%)
CIE-LABlab(49.50, 58.64, -32.57)
CIE-LCHlch(49.50, 67.08, 330.95°)
OKLaboklab(58.93% 0.1678 -0.0892)
OKLCHoklch(58.93% 0.19 332)
XYZxyz(30.1429, 18.0038, 41.9237)
Luminance0.1800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA47AE #47BA53
analogous
#8D47BA #BA47AE #BA4774
triadic
#BA47AE #AEBA47 #47AEBA
tetradic
#BA47AE #BA8D47 #47BA53 #4774BA
square
#BA47AE #BA8D47 #47BA53 #4774BA
split-complementary
#BA47AE #74BA47 #47BA8D
monochromatic
#62255C #8E3585 #BA47AE #CB74C2 #DBA0D5

Accessibility & contrast

On white

4.56
#BA47AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#BA47AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA47AE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA47AE#FFFFFF#000000##000000
##BA47AE1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#426BB1
Deuteranopia (green-blind)
#687CAB
Tritanopia (blue-blind)
#C15174
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba47ae;
/* rgb */ color: rgb(186, 71, 174);
/* oklch */ color: oklch(58.9% 0.190 332.0);
Tailwind
colors: {
  custom: {
    50: '#d282c6',
    500: '#ba47ae',
    950: '#000000',
  },
}
SCSS
$custom: #ba47ae;
$custom-light: #d282c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba47ae",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 174
  },
  "hsl": {
    "h": 306.261,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58932,
    "c": 0.19005,
    "h": 332
  },
  "luminance": 0.18002
}

Semantic roles & 50–950 ramp

primary
#BA47AE
secondary
#95C89A
accent
#D56053
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA47AE

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

Preview Lab → · Contrast checker → · Palette generator →

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