#BA4BAD#BA4BAD

#BA4BAD is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.3% C 0.184 H 332.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BA4BAD
RGBrgb(186, 75, 173)
HSLhsl(307, 45%, 51%)
HSVhsv(307, 60%, 73%)
CMYKcmyk(0%, 59.7%, 7%, 27.1%)
CIE-LABlab(50.09, 56.74, -31.07)
CIE-LCHlch(50.09, 64.69, 331.30°)
OKLaboklab(59.34% 0.1627 -0.0849)
OKLCHoklch(59.34% 0.184 332.4)
XYZxyz(30.3086, 18.4906, 41.4998)
Luminance0.1849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BAD #4BBA58
analogous
#8F4BBA #BA4BAD #BA4B75
triadic
#BA4BAD #ADBA4B #4BADBA
tetradic
#BA4BAD #BA8F4B #4BBA58 #4B75BA
square
#BA4BAD #BA8F4B #4BBA58 #4B75BA
split-complementary
#BA4BAD #75BA4B #4BBA8F
monochromatic
#64265D #903786 #BA4BAD #CB77C1 #DCA3D5

Accessibility & contrast

On white

4.47
#BA4BAD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#BA4BAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BAD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BAD#FFFFFF#000000##000000
##BA4BAD1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#476DB0
Deuteranopia (green-blind)
#6B7DAA
Tritanopia (blue-blind)
#C25475
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba4bad;
/* rgb */ color: rgb(186, 75, 173);
/* oklch */ color: oklch(59.3% 0.184 332.4);
Tailwind
colors: {
  custom: {
    50: '#d284c5',
    500: '#ba4bad',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bad;
$custom-light: #d284c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bad",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 173
  },
  "hsl": {
    "h": 307.027,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59344,
    "c": 0.18351,
    "h": 332.4
  },
  "luminance": 0.18488
}

Semantic roles & 50–950 ramp

primary
#BA4BAD
secondary
#98C99E
accent
#D46354
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA4BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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