#BA47D0#BA47D0

#BA47D0 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.8% C 0.219 H 320.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#BA47D0
RGBrgb(186, 71, 208)
HSLhsl(290, 59%, 55%)
HSVhsv(290, 66%, 82%)
CMYKcmyk(10.6%, 65.9%, 0%, 18.4%)
CIE-LABlab(51.27, 64.59, -49.47)
CIE-LCHlch(51.27, 81.36, 322.55°)
OKLaboklab(60.79% 0.1696 -0.1381)
OKLCHoklch(60.79% 0.219 320.8)
XYZxyz(33.8868, 19.5013, 61.6415)
Luminance0.1950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA47D0 #5DD047
analogous
#7647D0 #BA47D0 #D047A2
triadic
#BA47D0 #D0BA47 #47D0BA
tetradic
#BA47D0 #D07647 #5DD047 #47A2D0
square
#BA47D0 #D07647 #5DD047 #47A2D0
split-complementary
#BA47D0 #A2D047 #47D076
monochromatic
#6E207D #992CAD #BA47D0 #CC78DC #DFA8E9

Accessibility & contrast

On white

4.29
#BA47D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#BA47D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA47D0
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA47D0#FFFFFF#000000##000000
##BA47D01.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C72D4
Deuteranopia (green-blind)
#557ECD
Tritanopia (blue-blind)
#BB5F86
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba47d0;
/* rgb */ color: rgb(186, 71, 208);
/* oklch */ color: oklch(60.8% 0.219 320.8);
Tailwind
colors: {
  custom: {
    50: '#d283df',
    500: '#ba47d0',
    950: '#000000',
  },
}
SCSS
$custom: #ba47d0;
$custom-light: #d283df;
$custom-dark: #000000;
JSON
{
  "hex": "#ba47d0",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 208
  },
  "hsl": {
    "h": 290.365,
    "s": 59.307,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60786,
    "c": 0.21872,
    "h": 320.8
  },
  "luminance": 0.195
}

Semantic roles & 50–950 ramp

primary
#BA47D0
secondary
#A6D69D
accent
#E2455F
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA47D0

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

Preview Lab → · Contrast checker → · Palette generator →

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