#BA3BAA#BA3BAA

#BA3BAA is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.5% C 0.203 H 333.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BA3BAA
RGBrgb(186, 59, 170)
HSLhsl(308, 52%, 48%)
HSVhsv(308, 68%, 73%)
CMYKcmyk(0%, 68.3%, 8.6%, 27.1%)
CIE-LABlab(47.59, 62.79, -33.21)
CIE-LCHlch(47.59, 71.03, 332.12°)
OKLaboklab(57.48% 0.1814 -0.0909)
OKLCHoklch(57.48% 0.203 333.4)
XYZxyz(29.0695, 16.4717, 39.6707)
Luminance0.1647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3BAA #3BBA4B
analogous
#8A3BBA #BA3BAA #BA3B6A
triadic
#BA3BAA #AABA3B #3BAABA
tetradic
#BA3BAA #BA8A3B #3BBA4B #3B6ABA
square
#BA3BAA #BA8A3B #3BBA4B #3B6ABA
split-complementary
#BA3BAA #6ABA3B #3BBA8A
monochromatic
#5D1E55 #8C2C80 #BA3BAA #CE64C1 #DD93D3

Accessibility & contrast

On white

4.89
#BA3BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3BAA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3BAA#FFFFFF#000000##FFFFFF
##BA3BAA1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3765AD
Deuteranopia (green-blind)
#6477A7
Tritanopia (blue-blind)
#C2466E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba3baa;
/* rgb */ color: rgb(186, 59, 170);
/* oklch */ color: oklch(57.5% 0.203 333.4);
Tailwind
colors: {
  custom: {
    50: '#d27bc3',
    500: '#ba3baa',
    950: '#000000',
  },
}
SCSS
$custom: #ba3baa;
$custom-light: #d27bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3baa",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 170
  },
  "hsl": {
    "h": 307.559,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57479,
    "c": 0.20287,
    "h": 333.4
  },
  "luminance": 0.16469
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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