#BA2CAE#BA2CAE

#BA2CAE is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.4% C 0.222 H 331.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BA2CAE
RGBrgb(186, 44, 174)
HSLhsl(305, 62%, 45%)
HSVhsv(305, 76%, 73%)
CMYKcmyk(0%, 76.3%, 6.5%, 27.1%)
CIE-LABlab(46.04, 68.38, -38.01)
CIE-LCHlch(46.04, 78.23, 330.93°)
OKLaboklab(56.43% 0.1961 -0.1046)
OKLCHoklch(56.43% 0.222 331.9)
XYZxyz(28.7904, 15.2989, 41.4728)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2CAE #2CBA38
analogous
#7F2CBA #BA2CAE #BA2C67
triadic
#BA2CAE #AEBA2C #2CAEBA
tetradic
#BA2CAE #BA7F2C #2CBA38 #2C67BA
square
#BA2CAE #BA7F2C #2CBA38 #2C67BA
split-complementary
#BA2CAE #67BA2C #2CBA7F
monochromatic
#571551 #892080 #BA2CAE #D54ECA #E180D9

Accessibility & contrast

On white

5.17
#BA2CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#BA2CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2CAE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2CAE#FFFFFF#000000##FFFFFF
##BA2CAE1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2060B1
Deuteranopia (green-blind)
#5B74AB
Tritanopia (blue-blind)
#C23E6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba2cae;
/* rgb */ color: rgb(186, 44, 174);
/* oklch */ color: oklch(56.4% 0.222 331.9);
Tailwind
colors: {
  custom: {
    50: '#d375c6',
    500: '#ba2cae',
    950: '#000000',
  },
}
SCSS
$custom: #ba2cae;
$custom-light: #d375c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2cae",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 305.07,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56432,
    "c": 0.22225,
    "h": 331.9
  },
  "luminance": 0.15296
}

Semantic roles & 50–950 ramp

primary
#BA2CAE
secondary
#78CA7F
accent
#E55143
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BA2CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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