#BA47CF#BA47CF

#BA47CF is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.7% C 0.218 H 321.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BA47CF
RGBrgb(186, 71, 207)
HSLhsl(291, 59%, 55%)
HSVhsv(291, 66%, 81%)
CMYKcmyk(10.1%, 65.7%, 0%, 18.8%)
CIE-LABlab(51.21, 64.41, -48.99)
CIE-LCHlch(51.21, 80.92, 322.74°)
OKLaboklab(60.73% 0.1696 -0.1367)
OKLCHoklch(60.73% 0.218 321.1)
XYZxyz(33.7641, 19.4523, 60.9956)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA47CF #5CCF47
analogous
#7647CF #BA47CF #CF47A0
triadic
#BA47CF #CFBA47 #47CFBA
tetradic
#BA47CF #CF7647 #5CCF47 #47A0CF
square
#BA47CF #CF7647 #5CCF47 #47A0CF
split-complementary
#BA47CF #A0CF47 #47CF76
monochromatic
#6D207B #982DAC #BA47CF #CC78DC #DEA8E8

Accessibility & contrast

On white

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

On black

4.89
#BA47CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA47CF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA47CF#FFFFFF#000000##000000
##BA47CF1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E72D3
Deuteranopia (green-blind)
#567ECC
Tritanopia (blue-blind)
#BC5E85
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba47cf;
/* rgb */ color: rgb(186, 71, 207);
/* oklch */ color: oklch(60.7% 0.218 321.1);
Tailwind
colors: {
  custom: {
    50: '#d283de',
    500: '#ba47cf',
    950: '#000000',
  },
}
SCSS
$custom: #ba47cf;
$custom-light: #d283de;
$custom-dark: #000000;
JSON
{
  "hex": "#ba47cf",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 290.735,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60727,
    "c": 0.21784,
    "h": 321.1
  },
  "luminance": 0.19451
}

Semantic roles & 50–950 ramp

primary
#BA47CF
secondary
#A5D69C
accent
#E2465E
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA47CF

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

Preview Lab → · Contrast checker → · Palette generator →

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