#BA47CA#BA47CA

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

Color values

HEX#BA47CA
RGBrgb(186, 71, 202)
HSLhsl(293, 55%, 54%)
HSVhsv(293, 65%, 79%)
CMYKcmyk(7.9%, 64.9%, 0%, 20.8%)
CIE-LABlab(50.93, 63.49, -46.56)
CIE-LCHlch(50.93, 78.73, 323.74°)
OKLaboklab(60.44% 0.1696 -0.1297)
OKLCHoklch(60.44% 0.213 322.6)
XYZxyz(33.1625, 19.2116, 57.8271)
Luminance0.1921 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA47CA #57CA47
analogous
#7847CA #BA47CA #CA4798
triadic
#BA47CA #CABA47 #47CABA
tetradic
#BA47CA #CA7847 #57CA47 #4798CA
square
#BA47CA #CA7847 #57CA47 #4798CA
split-complementary
#BA47CA #98CA47 #47CA78
monochromatic
#6B2275 #962FA4 #BA47CA #CC77D8 #DEA6E5

Accessibility & contrast

On white

4.34
#BA47CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#BA47CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA47CA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA47CA#FFFFFF#000000##000000
##BA47CA1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2771CE
Deuteranopia (green-blind)
#597EC7
Tritanopia (blue-blind)
#BD5C83
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba47ca;
/* rgb */ color: rgb(186, 71, 202);
/* oklch */ color: oklch(60.4% 0.213 322.6);
Tailwind
colors: {
  custom: {
    50: '#d282db',
    500: '#ba47ca',
    950: '#000000',
  },
}
SCSS
$custom: #ba47ca;
$custom-light: #d282db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba47ca",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 292.672,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60436,
    "c": 0.21348,
    "h": 322.6
  },
  "luminance": 0.1921
}

Semantic roles & 50–950 ramp

primary
#BA47CA
secondary
#A1D29A
accent
#DF495B
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #BA47CA

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

Preview Lab → · Contrast checker → · Palette generator →

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