#BA3FAD#BA3FAD

#BA3FAD is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.0% C 0.200 H 332.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#BA3FAD
RGBrgb(186, 63, 173)
HSLhsl(306, 49%, 49%)
HSVhsv(306, 66%, 73%)
CMYKcmyk(0%, 66.1%, 7%, 27.1%)
CIE-LABlab(48.28, 61.74, -33.90)
CIE-LCHlch(48.28, 70.44, 331.23°)
OKLaboklab(58.03% 0.1772 -0.0929)
OKLCHoklch(58.03% 0.2 332.3)
XYZxyz(29.5701, 17.0135, 41.2536)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3FAD #3FBA4C
analogous
#8A3FBA #BA3FAD #BA3F70
triadic
#BA3FAD #ADBA3F #3FADBA
tetradic
#BA3FAD #BA8A3F #3FBA4C #3F70BA
square
#BA3FAD #BA8A3F #3FBA4C #3F70BA
split-complementary
#BA3FAD #70BA3F #3FBA8A
monochromatic
#5F2058 #8C3082 #BA3FAD #CC6AC2 #DC97D5

Accessibility & contrast

On white

4.77
#BA3FAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#BA3FAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3FAD
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3FAD#FFFFFF#000000##FFFFFF
##BA3FAD1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3967B0
Deuteranopia (green-blind)
#6479AA
Tritanopia (blue-blind)
#C24B71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba3fad;
/* rgb */ color: rgb(186, 63, 173);
/* oklch */ color: oklch(58.0% 0.200 332.3);
Tailwind
colors: {
  custom: {
    50: '#d27dc6',
    500: '#ba3fad',
    950: '#000000',
  },
}
SCSS
$custom: #ba3fad;
$custom-light: #d27dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3fad",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 173
  },
  "hsl": {
    "h": 306.341,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58027,
    "c": 0.20007,
    "h": 332.3
  },
  "luminance": 0.17011
}

Semantic roles & 50–950 ramp

primary
#BA3FAD
secondary
#8DC893
accent
#D95D4F
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140A13
muted
#837C82

Preview Lab

Preview with #BA3FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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