#BA4BAE#BA4BAE

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

Color values

HEX#BA4BAE
RGBrgb(186, 75, 174)
HSLhsl(306, 45%, 51%)
HSVhsv(306, 60%, 73%)
CMYKcmyk(0%, 59.7%, 6.5%, 27.1%)
CIE-LABlab(50.13, 56.91, -31.58)
CIE-LCHlch(50.13, 65.08, 330.97°)
OKLaboklab(59.39% 0.1628 -0.0864)
OKLCHoklch(59.39% 0.184 332.1)
XYZxyz(30.4057, 18.5294, 42.0113)
Luminance0.1853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BAE #4BBA57
analogous
#8E4BBA #BA4BAE #BA4B76
triadic
#BA4BAE #AEBA4B #4BAEBA
tetradic
#BA4BAE #BA8E4B #4BBA57 #4B76BA
square
#BA4BAE #BA8E4B #4BBA57 #4B76BA
split-complementary
#BA4BAE #76BA4B #4BBA8E
monochromatic
#64265E #903787 #BA4BAE #CB77C2 #DCA3D6

Accessibility & contrast

On white

4.46
#BA4BAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#BA4BAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BAE
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BAE#FFFFFF#000000##000000
##BA4BAE1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#466DB1
Deuteranopia (green-blind)
#6A7DAB
Tritanopia (blue-blind)
#C15476
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba4bae;
/* rgb */ color: rgb(186, 75, 174);
/* oklch */ color: oklch(59.4% 0.184 332.1);
Tailwind
colors: {
  custom: {
    50: '#d284c6',
    500: '#ba4bae',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bae;
$custom-light: #d284c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bae",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 174
  },
  "hsl": {
    "h": 306.486,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59393,
    "c": 0.18431,
    "h": 332.1
  },
  "luminance": 0.18527
}

Semantic roles & 50–950 ramp

primary
#BA4BAE
secondary
#98C99D
accent
#D46154
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA4BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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