#BA48C7#BA48C7

#BA48C7 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.4% C 0.210 H 323.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#BA48C7
RGBrgb(186, 72, 199)
HSLhsl(294, 53%, 53%)
HSVhsv(294, 64%, 78%)
CMYKcmyk(6.5%, 63.8%, 0%, 22%)
CIE-LABlab(50.92, 62.53, -44.86)
CIE-LCHlch(50.92, 76.96, 324.35°)
OKLaboklab(60.37% 0.1684 -0.1247)
OKLCHoklch(60.37% 0.21 323.5)
XYZxyz(32.8749, 19.1992, 55.9960)
Luminance0.1920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA48C7 #55C748
analogous
#7A48C7 #BA48C7 #C74894
triadic
#BA48C7 #C7BA48 #48C7BA
tetradic
#BA48C7 #C77A48 #55C748 #4894C7
square
#BA48C7 #C77A48 #55C748 #4894C7
split-complementary
#BA48C7 #94C748 #48C77A
monochromatic
#6A2372 #9531A1 #BA48C7 #CC77D5 #DDA6E4

Accessibility & contrast

On white

4.34
#BA48C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#BA48C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA48C7
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA48C7#FFFFFF#000000##000000
##BA48C71.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D71CB
Deuteranopia (green-blind)
#5C7EC4
Tritanopia (blue-blind)
#BD5C81
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba48c7;
/* rgb */ color: rgb(186, 72, 199);
/* oklch */ color: oklch(60.4% 0.210 323.5);
Tailwind
colors: {
  custom: {
    50: '#d283d8',
    500: '#ba48c7',
    950: '#000000',
  },
}
SCSS
$custom: #ba48c7;
$custom-light: #d283d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba48c7",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 293.858,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60373,
    "c": 0.20956,
    "h": 323.5
  },
  "luminance": 0.19197
}

Semantic roles & 50–950 ramp

primary
#BA48C7
secondary
#A0D19A
accent
#DD4B5A
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA48C7

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

Preview Lab → · Contrast checker → · Palette generator →

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