#BA3CB8#BA3CB8

#BA3CB8 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.3% C 0.212 H 328.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#BA3CB8
RGBrgb(186, 60, 184)
HSLhsl(301, 51%, 48%)
HSVhsv(301, 68%, 73%)
CMYKcmyk(0%, 67.7%, 1.1%, 27.1%)
CIE-LABlab(48.43, 64.67, -40.11)
CIE-LCHlch(48.43, 76.10, 328.19°)
OKLaboklab(58.32% 0.1812 -0.1108)
OKLCHoklch(58.32% 0.212 328.5)
XYZxyz(30.5170, 17.1337, 47.0379)
Luminance0.1713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CB8 #3CBA3E
analogous
#7D3CBA #BA3CB8 #BA3C79
triadic
#BA3CB8 #B8BA3C #3CB8BA
tetradic
#BA3CB8 #BA7D3C #3CBA3E #3C79BA
square
#BA3CB8 #BA7D3C #3CBA3E #3C79BA
split-complementary
#BA3CB8 #79BA3C #3CBA7D
monochromatic
#5D1E5C #8C2D8A #BA3CB8 #CE66CC #DC94DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3CB8#FFFFFF#000000##FFFFFF
##BA3CB81.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)
#2B68BC
Deuteranopia (green-blind)
#5D79B5
Tritanopia (blue-blind)
#C04D75
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba3cb8;
/* rgb */ color: rgb(186, 60, 184);
/* oklch */ color: oklch(58.3% 0.212 328.5);
Tailwind
colors: {
  custom: {
    50: '#d27cce',
    500: '#ba3cb8',
    950: '#000000',
  },
}
SCSS
$custom: #ba3cb8;
$custom-light: #d27cce;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3cb8",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 300.952,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58317,
    "c": 0.21238,
    "h": 328.5
  },
  "luminance": 0.17132
}

Semantic roles & 50–950 ramp

primary
#BA3CB8
secondary
#8AC88B
accent
#DB4F4D
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA3CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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