#BA4BAC#BA4BAC

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

Color values

HEX#BA4BAC
RGBrgb(186, 75, 172)
HSLhsl(308, 45%, 51%)
HSVhsv(308, 60%, 73%)
CMYKcmyk(0%, 59.7%, 7.5%, 27.1%)
CIE-LABlab(50.04, 56.58, -30.55)
CIE-LCHlch(50.04, 64.30, 331.63°)
OKLaboklab(59.29% 0.1625 -0.0834)
OKLCHoklch(59.29% 0.183 332.8)
XYZxyz(30.2122, 18.4520, 40.9921)
Luminance0.1845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BAC #4BBA59
analogous
#904BBA #BA4BAC #BA4B74
triadic
#BA4BAC #ACBA4B #4BACBA
tetradic
#BA4BAC #BA904B #4BBA59 #4B74BA
square
#BA4BAC #BA904B #4BBA59 #4B74BA
split-complementary
#BA4BAC #74BA4B #4BBA90
monochromatic
#64265C #903785 #BA4BAC #CB77C0 #DCA3D5

Accessibility & contrast

On white

4.48
#BA4BAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#BA4BAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BAC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BAC#FFFFFF#000000##000000
##BA4BAC1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#486DAF
Deuteranopia (green-blind)
#6B7DA9
Tritanopia (blue-blind)
#C25475
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba4bac;
/* rgb */ color: rgb(186, 75, 172);
/* oklch */ color: oklch(59.3% 0.183 332.8);
Tailwind
colors: {
  custom: {
    50: '#d284c5',
    500: '#ba4bac',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bac;
$custom-light: #d284c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bac",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 172
  },
  "hsl": {
    "h": 307.568,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59295,
    "c": 0.18271,
    "h": 332.8
  },
  "luminance": 0.1845
}

Semantic roles & 50–950 ramp

primary
#BA4BAC
secondary
#98C99E
accent
#D46454
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA4BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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