#BA4EAD#BA4EAD

#BA4EAD is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.7% C 0.179 H 332.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#BA4EAD
RGBrgb(186, 78, 173)
HSLhsl(307, 44%, 52%)
HSVhsv(307, 58%, 73%)
CMYKcmyk(0%, 58.1%, 7%, 27.1%)
CIE-LABlab(50.58, 55.40, -30.30)
CIE-LCHlch(50.58, 63.14, 331.33°)
OKLaboklab(59.71% 0.1588 -0.0827)
OKLCHoklch(59.71% 0.179 332.5)
XYZxyz(30.5169, 18.9072, 41.5692)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4EAD #4EBA5B
analogous
#914EBA #BA4EAD #BA4E77
triadic
#BA4EAD #ADBA4E #4EADBA
tetradic
#BA4EAD #BA914E #4EBA5B #4E77BA
square
#BA4EAD #BA914E #4EBA5B #4E77BA
split-complementary
#BA4EAD #77BA4E #4EBA91
monochromatic
#66285E #923987 #BA4EAD #CB7AC1 #DCA6D6

Accessibility & contrast

On white

4.39
#BA4EAD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#BA4EAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4EAD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4EAD#FFFFFF#000000##000000
##BA4EAD1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6FB0
Deuteranopia (green-blind)
#6C7EAA
Tritanopia (blue-blind)
#C15676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba4ead;
/* rgb */ color: rgb(186, 78, 173);
/* oklch */ color: oklch(59.7% 0.179 332.5);
Tailwind
colors: {
  custom: {
    50: '#d185c5',
    500: '#ba4ead',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ead;
$custom-light: #d185c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ead",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 173
  },
  "hsl": {
    "h": 307.222,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59705,
    "c": 0.17905,
    "h": 332.5
  },
  "luminance": 0.18905
}

Semantic roles & 50–950 ramp

primary
#BA4EAD
secondary
#9ACAA0
accent
#D46454
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA4EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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