#BA3EC0#BA3EC0

#BA3EC0 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.0% C 0.216 H 325.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BA3EC0
RGBrgb(186, 62, 192)
HSLhsl(297, 51%, 50%)
HSVhsv(297, 68%, 75%)
CMYKcmyk(3.1%, 67.7%, 0%, 24.7%)
CIE-LABlab(49.12, 65.27, -43.67)
CIE-LCHlch(49.12, 78.53, 326.22°)
OKLaboklab(58.95% 0.1793 -0.1212)
OKLCHoklch(58.95% 0.216 325.9)
XYZxyz(31.4861, 17.6922, 51.6155)
Luminance0.1769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3EC0 #44C03E
analogous
#793EC0 #BA3EC0 #C03E85
triadic
#BA3EC0 #C0BA3E #3EC0BA
tetradic
#BA3EC0 #C0793E #44C03E #3E85C0
square
#BA3EC0 #C0793E #44C03E #3E85C0
split-complementary
#BA3EC0 #85C03E #3EC079
monochromatic
#602063 #8D2F92 #BA3EC0 #CB6CCF #DB9ADE

Accessibility & contrast

On white

4.63
#BA3EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#BA3EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3EC0
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3EC0#FFFFFF#000000##FFFFFF
##BA3EC01.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246BC4
Deuteranopia (green-blind)
#5A7ABD
Tritanopia (blue-blind)
#BF527A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba3ec0;
/* rgb */ color: rgb(186, 62, 192);
/* oklch */ color: oklch(59.0% 0.216 325.9);
Tailwind
colors: {
  custom: {
    50: '#d27ed3',
    500: '#ba3ec0',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ec0;
$custom-light: #d27ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ec0",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 192
  },
  "hsl": {
    "h": 297.231,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58953,
    "c": 0.21638,
    "h": 325.9
  },
  "luminance": 0.1769
}

Semantic roles & 50–950 ramp

primary
#BA3EC0
secondary
#92CA8F
accent
#DB4D54
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BA3EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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