#BA48C8#BA48C8

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

Color values

HEX#BA48C8
RGBrgb(186, 72, 200)
HSLhsl(293, 54%, 53%)
HSVhsv(293, 64%, 78%)
CMYKcmyk(7%, 64%, 0%, 21.6%)
CIE-LABlab(50.97, 62.71, -45.35)
CIE-LCHlch(50.97, 77.39, 324.13°)
OKLaboklab(60.43% 0.1684 -0.1261)
OKLCHoklch(60.43% 0.21 323.2)
XYZxyz(32.9914, 19.2458, 56.6094)
Luminance0.1924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA48C8 #56C848
analogous
#7A48C8 #BA48C8 #C84896
triadic
#BA48C8 #C8BA48 #48C8BA
tetradic
#BA48C8 #C87A48 #56C848 #4896C8
square
#BA48C8 #C87A48 #56C848 #4896C8
split-complementary
#BA48C8 #96C848 #48C87A
monochromatic
#6A2373 #9631A2 #BA48C8 #CC77D6 #DDA6E4

Accessibility & contrast

On white

4.33
#BA48C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#BA48C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA48C8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA48C8#FFFFFF#000000##000000
##BA48C81.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B71CC
Deuteranopia (green-blind)
#5B7EC5
Tritanopia (blue-blind)
#BD5C82
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba48c8;
/* rgb */ color: rgb(186, 72, 200);
/* oklch */ color: oklch(60.4% 0.210 323.2);
Tailwind
colors: {
  custom: {
    50: '#d283d9',
    500: '#ba48c8',
    950: '#000000',
  },
}
SCSS
$custom: #ba48c8;
$custom-light: #d283d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba48c8",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 293.438,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.6043,
    "c": 0.21043,
    "h": 323.2
  },
  "luminance": 0.19244
}

Semantic roles & 50–950 ramp

primary
#BA48C8
secondary
#A0D19A
accent
#DD4B5B
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B15
muted
#837C83

Preview Lab

Preview with #BA48C8

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

Preview Lab → · Contrast checker → · Palette generator →

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