#BA37AE#BA37AE

#BA37AE is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.3% C 0.211 H 331.9°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#BA37AE
RGBrgb(186, 55, 174)
HSLhsl(305, 54%, 47%)
HSVhsv(305, 70%, 73%)
CMYKcmyk(0%, 70.4%, 6.5%, 27.1%)
CIE-LABlab(47.27, 64.86, -36.06)
CIE-LCHlch(47.27, 74.21, 330.93°)
OKLaboklab(57.32% 0.1859 -0.0991)
OKLCHoklch(57.32% 0.211 331.9)
XYZxyz(29.2559, 16.2298, 41.6280)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA37AE #37BA43
analogous
#8437BA #BA37AE #BA376D
triadic
#BA37AE #AEBA37 #37AEBA
tetradic
#BA37AE #BA8437 #37BA43 #376DBA
square
#BA37AE #BA8437 #37BA43 #376DBA
split-complementary
#BA37AE #6DBA37 #37BA84
monochromatic
#5C1B56 #8B2982 #BA37AE #D05FC5 #DE8ED6

Accessibility & contrast

On white

4.95
#BA37AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#BA37AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA37AE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA37AE#FFFFFF#000000##FFFFFF
##BA37AE1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F64B1
Deuteranopia (green-blind)
#6077AB
Tritanopia (blue-blind)
#C2456E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba37ae;
/* rgb */ color: rgb(186, 55, 174);
/* oklch */ color: oklch(57.3% 0.211 331.9);
Tailwind
colors: {
  custom: {
    50: '#d27ac6',
    500: '#ba37ae',
    950: '#000000',
  },
}
SCSS
$custom: #ba37ae;
$custom-light: #d27ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba37ae",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 305.496,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57318,
    "c": 0.21063,
    "h": 331.9
  },
  "luminance": 0.16227
}

Semantic roles & 50–950 ramp

primary
#BA37AE
secondary
#85C88B
accent
#DE584A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA37AE

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

Preview Lab → · Contrast checker → · Palette generator →

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