#BA48C2#BA48C2

#BA48C2 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.1% C 0.205 H 325.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BA48C2
RGBrgb(186, 72, 194)
HSLhsl(296, 50%, 52%)
HSVhsv(296, 63%, 76%)
CMYKcmyk(4.1%, 62.9%, 0%, 23.9%)
CIE-LABlab(50.65, 61.64, -42.40)
CIE-LCHlch(50.65, 74.81, 325.48°)
OKLaboklab(60.09% 0.1682 -0.1176)
OKLCHoklch(60.09% 0.205 325.1)
XYZxyz(32.3039, 18.9708, 52.9887)
Luminance0.1897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA48C2 #50C248
analogous
#7D48C2 #BA48C2 #C2488D
triadic
#BA48C2 #C2BA48 #48C2BA
tetradic
#BA48C2 #C27D48 #50C248 #488DC2
square
#BA48C2 #C27D48 #50C248 #488DC2
split-complementary
#BA48C2 #8DC248 #48C27D
monochromatic
#67246C #93339A #BA48C2 #CB76D1 #DDA4E1

Accessibility & contrast

On white

4.38
#BA48C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#BA48C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA48C2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA48C2#FFFFFF#000000##000000
##BA48C21.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3270C6
Deuteranopia (green-blind)
#5E7DBF
Tritanopia (blue-blind)
#BE5A7F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba48c2;
/* rgb */ color: rgb(186, 72, 194);
/* oklch */ color: oklch(60.1% 0.205 325.1);
Tailwind
colors: {
  custom: {
    50: '#d283d5',
    500: '#ba48c2',
    950: '#000000',
  },
}
SCSS
$custom: #ba48c2;
$custom-light: #d283d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba48c2",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 194
  },
  "hsl": {
    "h": 296.066,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60094,
    "c": 0.20524,
    "h": 325.1
  },
  "luminance": 0.18969
}

Semantic roles & 50–950 ramp

primary
#BA48C2
secondary
#9CCE98
accent
#DA4E57
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA48C2

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

Preview Lab → · Contrast checker → · Palette generator →

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