#BA48D3#BA48D3

#BA48D3 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.1% C 0.220 H 319.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#BA48D3
RGBrgb(186, 72, 211)
HSLhsl(289, 61%, 55%)
HSVhsv(289, 66%, 83%)
CMYKcmyk(11.8%, 65.9%, 0%, 17.3%)
CIE-LABlab(51.59, 64.74, -50.68)
CIE-LCHlch(51.59, 82.22, 321.95°)
OKLaboklab(61.07% 0.1684 -0.1417)
OKLCHoklch(61.07% 0.22 319.9)
XYZxyz(34.3235, 19.7786, 63.6251)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA48D3 #61D348
analogous
#7548D3 #BA48D3 #D348A6
triadic
#BA48D3 #D3BA48 #48D3BA
tetradic
#BA48D3 #D37548 #61D348 #48A6D3
square
#BA48D3 #D37548 #61D348 #48A6D3
split-complementary
#BA48D3 #A6D348 #48D375
monochromatic
#701F81 #9A2BB3 #BA48D3 #CD79DF #DFABEB

Accessibility & contrast

On white

4.24
#BA48D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#BA48D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA48D3
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA48D3#FFFFFF#000000##000000
##BA48D31.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1973D7
Deuteranopia (green-blind)
#547FD0
Tritanopia (blue-blind)
#BB6088
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba48d3;
/* rgb */ color: rgb(186, 72, 211);
/* oklch */ color: oklch(61.1% 0.220 319.9);
Tailwind
colors: {
  custom: {
    50: '#d283e1',
    500: '#ba48d3',
    950: '#000000',
  },
}
SCSS
$custom: #ba48d3;
$custom-light: #d283e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba48d3",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 211
  },
  "hsl": {
    "h": 289.209,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61069,
    "c": 0.2201,
    "h": 319.9
  },
  "luminance": 0.19777
}

Semantic roles & 50–950 ramp

primary
#BA48D3
secondary
#A9D89E
accent
#E44360
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA48D3

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

Preview Lab → · Contrast checker → · Palette generator →

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