#BA3CD2#BA3CD2

#BA3CD2 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.8% C 0.234 H 320.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BA3CD2
RGBrgb(186, 60, 210)
HSLhsl(290, 63%, 53%)
HSVhsv(290, 71%, 82%)
CMYKcmyk(11.4%, 71.4%, 0%, 17.6%)
CIE-LABlab(49.89, 69.17, -52.82)
CIE-LCHlch(49.89, 87.03, 322.64°)
OKLaboklab(59.83% 0.1808 -0.1478)
OKLCHoklch(59.83% 0.234 320.7)
XYZxyz(33.4971, 18.3257, 62.7331)
Luminance0.1832 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CD2 #54D23C
analogous
#6F3CD2 #BA3CD2 #D23C9F
triadic
#BA3CD2 #D2BA3C #3CD2BA
tetradic
#BA3CD2 #D26F3C #54D23C #3C9FD2
square
#BA3CD2 #D26F3C #54D23C #3C9FD2
split-complementary
#BA3CD2 #9FD23C #3CD26F
monochromatic
#691C78 #9527AA #BA3CD2 #CC6EDD #DD9FE9

Accessibility & contrast

On white

4.50
#BA3CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#BA3CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3CD2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3CD2#FFFFFF#000000##000000
##BA3CD21.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#4C7BCE
Tritanopia (blue-blind)
#BB5884
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba3cd2;
/* rgb */ color: rgb(186, 60, 210);
/* oklch */ color: oklch(59.8% 0.234 320.7);
Tailwind
colors: {
  custom: {
    50: '#d37de0',
    500: '#ba3cd2',
    950: '#000000',
  },
}
SCSS
$custom: #ba3cd2;
$custom-light: #d37de0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3cd2",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 210
  },
  "hsl": {
    "h": 290.4,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59834,
    "c": 0.23355,
    "h": 320.7
  },
  "luminance": 0.18324
}

Semantic roles & 50–950 ramp

primary
#BA3CD2
secondary
#9FD594
accent
#E6425C
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA3CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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