#BA3ED3#BA3ED3

#BA3ED3 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.1% C 0.232 H 320.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BA3ED3
RGBrgb(186, 62, 211)
HSLhsl(290, 63%, 54%)
HSVhsv(290, 71%, 83%)
CMYKcmyk(11.8%, 70.6%, 0%, 17.3%)
CIE-LABlab(50.20, 68.63, -52.89)
CIE-LCHlch(50.20, 86.65, 322.38°)
OKLaboklab(60.08% 0.1788 -0.1481)
OKLCHoklch(60.08% 0.232 320.4)
XYZxyz(33.7288, 18.5892, 63.4268)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3ED3 #57D33E
analogous
#6F3ED3 #BA3ED3 #D33EA1
triadic
#BA3ED3 #D3BA3E #3ED3BA
tetradic
#BA3ED3 #D36F3E #57D33E #3EA1D3
square
#BA3ED3 #D36F3E #57D33E #3EA1D3
split-complementary
#BA3ED3 #A1D33E #3ED36F
monochromatic
#6B1C7B #9627AC #BA3ED3 #CC70DE #DEA2EA

Accessibility & contrast

On white

4.45
#BA3ED3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#BA3ED3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3ED3
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3ED3#FFFFFF#000000##000000
##BA3ED31.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3ed3;
/* rgb */ color: rgb(186, 62, 211);
/* oklch */ color: oklch(60.1% 0.232 320.4);
Tailwind
colors: {
  custom: {
    50: '#d37ee1',
    500: '#ba3ed3',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ed3;
$custom-light: #d37ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ed3",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 211
  },
  "hsl": {
    "h": 289.933,
    "s": 62.869,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60078,
    "c": 0.23215,
    "h": 320.4
  },
  "luminance": 0.18588
}

Semantic roles & 50–950 ramp

primary
#BA3ED3
secondary
#A1D696
accent
#E6425D
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA3ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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