#BA3BC9#BA3BC9

#BA3BC9 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.2% C 0.227 H 323.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BA3BC9
RGBrgb(186, 59, 201)
HSLhsl(294, 57%, 51%)
HSVhsv(294, 71%, 79%)
CMYKcmyk(7.5%, 70.6%, 0%, 21.2%)
CIE-LABlab(49.24, 67.93, -48.69)
CIE-LCHlch(49.24, 83.58, 324.37°)
OKLaboklab(59.2% 0.1822 -0.1358)
OKLCHoklch(59.2% 0.227 323.3)
XYZxyz(32.3553, 17.7860, 56.9758)
Luminance0.1778 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3BC9 #4AC93B
analogous
#733BC9 #BA3BC9 #C93B91
triadic
#BA3BC9 #C9BA3B #3BC9BA
tetradic
#BA3BC9 #C9733B #4AC93B #3B91C9
square
#BA3BC9 #C9733B #4AC93B #3B91C9
split-complementary
#BA3BC9 #91C93B #3BC973
monochromatic
#641E6C #902B9C #BA3BC9 #CB6BD6 #DC9BE3

Accessibility & contrast

On white

4.61
#BA3BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#BA3BC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3BC9
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3BC9#FFFFFF#000000##FFFFFF
##BA3BC91.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#046CCD
Deuteranopia (green-blind)
#527AC6
Tritanopia (blue-blind)
#BD547E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba3bc9;
/* rgb */ color: rgb(186, 59, 201);
/* oklch */ color: oklch(59.2% 0.227 323.3);
Tailwind
colors: {
  custom: {
    50: '#d37cda',
    500: '#ba3bc9',
    950: '#000000',
  },
}
SCSS
$custom: #ba3bc9;
$custom-light: #d37cda;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3bc9",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 201
  },
  "hsl": {
    "h": 293.662,
    "s": 56.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59198,
    "c": 0.22724,
    "h": 323.3
  },
  "luminance": 0.17784
}

Semantic roles & 50–950 ramp

primary
#BA3BC9
secondary
#97CF90
accent
#E04858
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA3BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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