#BA47C9#BA47C9

#BA47C9 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.4% C 0.213 H 322.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#BA47C9
RGBrgb(186, 71, 201)
HSLhsl(293, 55%, 53%)
HSVhsv(293, 65%, 79%)
CMYKcmyk(7.5%, 64.7%, 0%, 21.2%)
CIE-LABlab(50.88, 63.31, -46.07)
CIE-LCHlch(50.88, 78.30, 323.95°)
OKLaboklab(60.38% 0.1696 -0.1282)
OKLCHoklch(60.38% 0.213 322.9)
XYZxyz(33.0445, 19.1644, 57.2056)
Luminance0.1916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA47C9 #56C947
analogous
#7947C9 #BA47C9 #C94797
triadic
#BA47C9 #C9BA47 #47C9BA
tetradic
#BA47C9 #C97947 #56C947 #4797C9
square
#BA47C9 #C97947 #56C947 #4797C9
split-complementary
#BA47C9 #97C947 #47C979
monochromatic
#6A2274 #9630A3 #BA47C9 #CC76D7 #DDA6E5

Accessibility & contrast

On white

4.35
#BA47C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#BA47C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA47C9
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA47C9#FFFFFF#000000##000000
##BA47C91.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2871CD
Deuteranopia (green-blind)
#5A7EC6
Tritanopia (blue-blind)
#BD5C82
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba47c9;
/* rgb */ color: rgb(186, 71, 201);
/* oklch */ color: oklch(60.4% 0.213 322.9);
Tailwind
colors: {
  custom: {
    50: '#d282da',
    500: '#ba47c9',
    950: '#000000',
  },
}
SCSS
$custom: #ba47c9;
$custom-light: #d282da;
$custom-dark: #000000;
JSON
{
  "hex": "#ba47c9",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 201
  },
  "hsl": {
    "h": 293.077,
    "s": 54.622,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60379,
    "c": 0.21261,
    "h": 322.9
  },
  "luminance": 0.19163
}

Semantic roles & 50–950 ramp

primary
#BA47C9
secondary
#A0D29A
accent
#DE4A5B
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #BA47C9

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

Preview Lab → · Contrast checker → · Palette generator →

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