#BA3EAE#BA3EAE

#BA3EAE is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.0% C 0.202 H 332.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BA3EAE
RGBrgb(186, 62, 174)
HSLhsl(306, 50%, 49%)
HSVhsv(306, 67%, 73%)
CMYKcmyk(0%, 66.7%, 6.5%, 27.1%)
CIE-LABlab(48.19, 62.29, -34.63)
CIE-LCHlch(48.19, 71.27, 330.93°)
OKLaboklab(57.98% 0.1784 -0.095)
OKLCHoklch(57.98% 0.202 332)
XYZxyz(29.6123, 16.9426, 41.7468)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3EAE #3EBA4A
analogous
#883EBA #BA3EAE #BA3E70
triadic
#BA3EAE #AEBA3E #3EAEBA
tetradic
#BA3EAE #BA883E #3EBA4A #3E70BA
square
#BA3EAE #BA883E #3EBA4A #3E70BA
split-complementary
#BA3EAE #70BA3E #3EBA88
monochromatic
#5E1F58 #8C2F83 #BA3EAE #CD68C3 #DC96D5

Accessibility & contrast

On white

4.79
#BA3EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#BA3EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3EAE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3EAE#FFFFFF#000000##FFFFFF
##BA3EAE1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3767B1
Deuteranopia (green-blind)
#6379AB
Tritanopia (blue-blind)
#C24A71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba3eae;
/* rgb */ color: rgb(186, 62, 174);
/* oklch */ color: oklch(58.0% 0.202 332.0);
Tailwind
colors: {
  custom: {
    50: '#d27dc6',
    500: '#ba3eae',
    950: '#000000',
  },
}
SCSS
$custom: #ba3eae;
$custom-light: #d27dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3eae",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 305.806,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57978,
    "c": 0.20213,
    "h": 332
  },
  "luminance": 0.1694
}

Semantic roles & 50–950 ramp

primary
#BA3EAE
secondary
#8CC892
accent
#DA5C4E
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140A13
muted
#837C82

Preview Lab

Preview with #BA3EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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