#BA4ABE#BA4ABE

#BA4ABE is a mid, vivid purple. Relative luminance 0.191; OKLCH L 60.1% C 0.199 H 326.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#BA4ABE
RGBrgb(186, 74, 190)
HSLhsl(298, 47%, 52%)
HSVhsv(298, 61%, 75%)
CMYKcmyk(2.1%, 61.1%, 0%, 25.5%)
CIE-LABlab(50.75, 60.08, -39.92)
CIE-LCHlch(50.75, 72.13, 326.39°)
OKLaboklab(60.1% 0.1657 -0.1104)
OKLCHoklch(60.1% 0.199 326.3)
XYZxyz(31.9921, 19.0563, 50.6984)
Luminance0.1905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4ABE #4EBE4A
analogous
#804ABE #BA4ABE #BE4A88
triadic
#BA4ABE #BEBA4A #4ABEBA
tetradic
#BA4ABE #BE804A #4EBE4A #4A88BE
square
#BA4ABE #BE804A #4EBE4A #4A88BE
split-complementary
#BA4ABE #88BE4A #4ABE80
monochromatic
#662568 #923695 #BA4ABE #CB77CE #DCA4DE

Accessibility & contrast

On white

4.37
#BA4ABE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#BA4ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4ABE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4ABE#FFFFFF#000000##000000
##BA4ABE1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3970C2
Deuteranopia (green-blind)
#627EBB
Tritanopia (blue-blind)
#BF5A7D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba4abe;
/* rgb */ color: rgb(186, 74, 190);
/* oklch */ color: oklch(60.1% 0.199 326.3);
Tailwind
colors: {
  custom: {
    50: '#d284d2',
    500: '#ba4abe',
    950: '#000000',
  },
}
SCSS
$custom: #ba4abe;
$custom-light: #d284d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4abe",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 297.931,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60099,
    "c": 0.19907,
    "h": 326.3
  },
  "luminance": 0.19054
}

Semantic roles & 50–950 ramp

primary
#BA4ABE
secondary
#9ACB98
accent
#D75156
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BA4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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