#BA3AE3#BA3AE3

#BA3AE3 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.7% C 0.250 H 316.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#BA3AE3
RGBrgb(186, 58, 227)
HSLhsl(285, 75%, 56%)
HSVhsv(285, 74%, 89%)
CMYKcmyk(18.1%, 74.4%, 0%, 11%)
CIE-LABlab(50.70, 73.00, -61.19)
CIE-LCHlch(50.70, 95.25, 320.03°)
OKLaboklab(60.75% 0.181 -0.1724)
OKLCHoklch(60.75% 0.25 316.4)
XYZxyz(35.6258, 19.0127, 74.4514)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3AE3 #63E33A
analogous
#653AE3 #BA3AE3 #E33AB7
triadic
#BA3AE3 #E3BA3A #3AE3BA
tetradic
#BA3AE3 #E3653A #63E33A #3AB7E3
square
#BA3AE3 #E3653A #63E33A #3AB7E3
split-complementary
#BA3AE3 #B7E33A #3AE365
monochromatic
#71148E #9B1CC4 #BA3AE3 #CD70EB #E0A5F2

Accessibility & contrast

On white

4.37
#BA3AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#BA3AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3AE3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3AE3#FFFFFF#000000##000000
##BA3AE31.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E8
Deuteranopia (green-blind)
#3A7CDF
Tritanopia (blue-blind)
#B75F8D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba3ae3;
/* rgb */ color: rgb(186, 58, 227);
/* oklch */ color: oklch(60.7% 0.250 316.4);
Tailwind
colors: {
  custom: {
    50: '#d37ded',
    500: '#ba3ae3',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ae3;
$custom-light: #d37ded;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ae3",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 227
  },
  "hsl": {
    "h": 285.444,
    "s": 75.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60749,
    "c": 0.24992,
    "h": 316.4
  },
  "luminance": 0.19011
}

Semantic roles & 50–950 ramp

primary
#BA3AE3
secondary
#AADF99
accent
#F23664
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BA3AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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