#BA3CB9#BA3CB9

#BA3CB9 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.4% C 0.213 H 328.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#BA3CB9
RGBrgb(186, 60, 185)
HSLhsl(300, 51%, 48%)
HSVhsv(300, 68%, 73%)
CMYKcmyk(0%, 67.7%, 0.5%, 27.1%)
CIE-LABlab(48.48, 64.84, -40.61)
CIE-LCHlch(48.48, 76.50, 327.94°)
OKLaboklab(58.37% 0.1812 -0.1123)
OKLCHoklch(58.37% 0.213 328.2)
XYZxyz(30.6221, 17.1758, 47.5919)
Luminance0.1717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CB9 #3CBA3D
analogous
#7C3CBA #BA3CB9 #BA3C7A
triadic
#BA3CB9 #B9BA3C #3CB9BA
tetradic
#BA3CB9 #BA7C3C #3CBA3D #3C7ABA
square
#BA3CB9 #BA7C3C #3CBA3D #3C7ABA
split-complementary
#BA3CB9 #7ABA3C #3CBA7C
monochromatic
#5D1E5D #8C2D8B #BA3CB9 #CE66CD #DC94DC

Accessibility & contrast

On white

4.74
#BA3CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#BA3CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3CB9
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3CB9#FFFFFF#000000##FFFFFF
##BA3CB91.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A69BD
Deuteranopia (green-blind)
#5D79B6
Tritanopia (blue-blind)
#C04D76
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba3cb9;
/* rgb */ color: rgb(186, 60, 185);
/* oklch */ color: oklch(58.4% 0.213 328.2);
Tailwind
colors: {
  custom: {
    50: '#d27cce',
    500: '#ba3cb9',
    950: '#000000',
  },
}
SCSS
$custom: #ba3cb9;
$custom-light: #d27cce;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3cb9",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 185
  },
  "hsl": {
    "h": 300.476,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58372,
    "c": 0.21318,
    "h": 328.2
  },
  "luminance": 0.17174
}

Semantic roles & 50–950 ramp

primary
#BA3CB9
secondary
#8AC88B
accent
#DB4E4D
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BA3CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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