#BA3CD5#BA3CD5

#BA3CD5 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 60.0% C 0.236 H 319.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BA3CD5
RGBrgb(186, 60, 213)
HSLhsl(289, 65%, 54%)
HSVhsv(289, 72%, 84%)
CMYKcmyk(12.7%, 71.8%, 0%, 16.5%)
CIE-LABlab(50.07, 69.72, -54.25)
CIE-LCHlch(50.07, 88.34, 322.11°)
OKLaboklab(60.02% 0.1806 -0.152)
OKLCHoklch(60.02% 0.236 319.9)
XYZxyz(33.8743, 18.4766, 64.7199)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CD5 #57D53C
analogous
#6D3CD5 #BA3CD5 #D53CA3
triadic
#BA3CD5 #D5BA3C #3CD5BA
tetradic
#BA3CD5 #D56D3C #57D53C #3CA3D5
square
#BA3CD5 #D56D3C #57D53C #3CA3D5
split-complementary
#BA3CD5 #A3D53C #3CD56D
monochromatic
#6B1B7C #9626AE #BA3CD5 #CC6EE0 #DEA1EB

Accessibility & contrast

On white

4.47
#BA3CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#BA3CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3CD5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3CD5#FFFFFF#000000##000000
##BA3CD51.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#4A7BD1
Tritanopia (blue-blind)
#BB5A85
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba3cd5;
/* rgb */ color: rgb(186, 60, 213);
/* oklch */ color: oklch(60.0% 0.236 319.9);
Tailwind
colors: {
  custom: {
    50: '#d37de3',
    500: '#ba3cd5',
    950: '#000000',
  },
}
SCSS
$custom: #ba3cd5;
$custom-light: #d37de3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3cd5",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 213
  },
  "hsl": {
    "h": 289.412,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6002,
    "c": 0.23606,
    "h": 319.9
  },
  "luminance": 0.18475
}

Semantic roles & 50–950 ramp

primary
#BA3CD5
secondary
#A1D796
accent
#E8405E
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#150B15
muted
#837C84

Preview Lab

Preview with #BA3CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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