#BA3CB3#BA3CB3

#BA3CB3 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.0% C 0.208 H 330.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BA3CB3
RGBrgb(186, 60, 179)
HSLhsl(303, 51%, 48%)
HSVhsv(303, 68%, 73%)
CMYKcmyk(0%, 67.7%, 3.8%, 27.1%)
CIE-LABlab(48.17, 63.85, -37.59)
CIE-LCHlch(48.17, 74.10, 329.51°)
OKLaboklab(58.05% 0.1809 -0.1035)
OKLCHoklch(58.05% 0.208 330.2)
XYZxyz(30.0021, 16.9277, 44.3263)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CB3 #3CBA43
analogous
#823CBA #BA3CB3 #BA3C74
triadic
#BA3CB3 #B3BA3C #3CB3BA
tetradic
#BA3CB3 #BA823C #3CBA43 #3C74BA
square
#BA3CB3 #BA823C #3CBA43 #3C74BA
split-complementary
#BA3CB3 #74BA3C #3CBA82
monochromatic
#5D1E5A #8C2D86 #BA3CB3 #CE66C8 #DC94D8

Accessibility & contrast

On white

4.79
#BA3CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#BA3CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3CB3
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3CB3#FFFFFF#000000##FFFFFF
##BA3CB31.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3067B6
Deuteranopia (green-blind)
#6078B0
Tritanopia (blue-blind)
#C14B73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba3cb3;
/* rgb */ color: rgb(186, 60, 179);
/* oklch */ color: oklch(58.0% 0.208 330.2);
Tailwind
colors: {
  custom: {
    50: '#d27cca',
    500: '#ba3cb3',
    950: '#000000',
  },
}
SCSS
$custom: #ba3cb3;
$custom-light: #d27cca;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3cb3",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 303.333,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58046,
    "c": 0.20848,
    "h": 330.2
  },
  "luminance": 0.16925
}

Semantic roles & 50–950 ramp

primary
#BA3CB3
secondary
#8AC88D
accent
#DB554D
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA3CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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