#BA47E4#BA47E4

#BA47E4 is a light, highly saturated purple. Relative luminance 0.205; OKLCH L 62.0% C 0.237 H 315.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#BA47E4
RGBrgb(186, 71, 228)
HSLhsl(284, 74%, 59%)
HSVhsv(284, 69%, 89%)
CMYKcmyk(18.4%, 68.9%, 0%, 10.6%)
CIE-LABlab(52.45, 68.39, -58.94)
CIE-LCHlch(52.45, 90.29, 319.24°)
OKLaboklab(62.01% 0.1686 -0.1659)
OKLCHoklch(62.01% 0.237 315.5)
XYZxyz(36.5043, 20.5484, 75.4271)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA47E4 #71E447
analogous
#6B47E4 #BA47E4 #E447BF
triadic
#BA47E4 #E4BA47 #47E4BA
tetradic
#BA47E4 #E46B47 #71E447 #47BFE4
square
#BA47E4 #E46B47 #71E447 #47BFE4
split-complementary
#BA47E4 #BFE447 #47E46B
monochromatic
#77179A #A01ECF #BA47E4 #CE7CEC #E2B2F4

Accessibility & contrast

On white

4.11
#BA47E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#BA47E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA47E4
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA47E4#FFFFFF#000000##000000
##BA47E41.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#4480E0
Tritanopia (blue-blind)
#B76791
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba47e4;
/* rgb */ color: rgb(186, 71, 228);
/* oklch */ color: oklch(62.0% 0.237 315.5);
Tailwind
colors: {
  custom: {
    50: '#d383ed',
    500: '#ba47e4',
    950: '#000000',
  },
}
SCSS
$custom: #ba47e4;
$custom-light: #d383ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ba47e4",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 283.949,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62013,
    "c": 0.23653,
    "h": 315.5
  },
  "luminance": 0.20547
}

Semantic roles & 50–950 ramp

primary
#BA47E4
secondary
#B5E2A4
accent
#F13769
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BA47E4

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

Preview Lab → · Contrast checker → · Palette generator →

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