#BA3BA9#BA3BA9

#BA3BA9 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.4% C 0.202 H 333.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#BA3BA9
RGBrgb(186, 59, 169)
HSLhsl(308, 52%, 48%)
HSVhsv(308, 68%, 73%)
CMYKcmyk(0%, 68.3%, 9.1%, 27.1%)
CIE-LABlab(47.54, 62.64, -32.70)
CIE-LCHlch(47.54, 70.66, 332.43°)
OKLaboklab(57.43% 0.1813 -0.0894)
OKLCHoklch(57.43% 0.202 333.7)
XYZxyz(28.9753, 16.4340, 39.1744)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3BA9 #3BBA4C
analogous
#8B3BBA #BA3BA9 #BA3B6A
triadic
#BA3BA9 #A9BA3B #3BA9BA
tetradic
#BA3BA9 #BA8B3B #3BBA4C #3B6ABA
square
#BA3BA9 #BA8B3B #3BBA4C #3B6ABA
split-complementary
#BA3BA9 #6ABA3B #3BBA8B
monochromatic
#5D1E55 #8C2C7F #BA3BA9 #CE64C0 #DD93D3

Accessibility & contrast

On white

4.90
#BA3BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#BA3BA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3BA9
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3BA9#FFFFFF#000000##FFFFFF
##BA3BA91.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3865AC
Deuteranopia (green-blind)
#6477A6
Tritanopia (blue-blind)
#C2466D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba3ba9;
/* rgb */ color: rgb(186, 59, 169);
/* oklch */ color: oklch(57.4% 0.202 333.7);
Tailwind
colors: {
  custom: {
    50: '#d27bc3',
    500: '#ba3ba9',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ba9;
$custom-light: #d27bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ba9",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 169
  },
  "hsl": {
    "h": 308.031,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57428,
    "c": 0.20212,
    "h": 333.7
  },
  "luminance": 0.16432
}

Semantic roles & 50–950 ramp

primary
#BA3BA9
secondary
#89C891
accent
#DB604D
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA3BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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