#BA2EAE#BA2EAE

#BA2EAE is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.6% C 0.220 H 331.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BA2EAE
RGBrgb(186, 46, 174)
HSLhsl(305, 60%, 45%)
HSVhsv(305, 75%, 73%)
CMYKcmyk(0%, 75.3%, 6.5%, 27.1%)
CIE-LABlab(46.25, 67.79, -37.68)
CIE-LCHlch(46.25, 77.56, 330.93°)
OKLaboklab(56.58% 0.1944 -0.1037)
OKLCHoklch(56.58% 0.22 331.9)
XYZxyz(28.8667, 15.4515, 41.4983)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2EAE #2EBA3A
analogous
#802EBA #BA2EAE #BA2E68
triadic
#BA2EAE #AEBA2E #2EAEBA
tetradic
#BA2EAE #BA802E #2EBA3A #2E68BA
square
#BA2EAE #BA802E #2EBA3A #2E68BA
split-complementary
#BA2EAE #68BA2E #2EBA80
monochromatic
#581652 #892280 #BA2EAE #D451C9 #E082D8

Accessibility & contrast

On white

5.13
#BA2EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#BA2EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2EAE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2EAE#FFFFFF#000000##FFFFFF
##BA2EAE1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2361B1
Deuteranopia (green-blind)
#5C74AB
Tritanopia (blue-blind)
#C23F6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba2eae;
/* rgb */ color: rgb(186, 46, 174);
/* oklch */ color: oklch(56.6% 0.220 331.9);
Tailwind
colors: {
  custom: {
    50: '#d376c6',
    500: '#ba2eae',
    950: '#000000',
  },
}
SCSS
$custom: #ba2eae;
$custom-light: #d376c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2eae",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 305.143,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56579,
    "c": 0.2203,
    "h": 331.9
  },
  "luminance": 0.15449
}

Semantic roles & 50–950 ramp

primary
#BA2EAE
secondary
#7BC981
accent
#E35244
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA2EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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