#BA50AD#BA50AD

#BA50AD is a mid, vivid purple. Relative luminance 0.192; OKLCH L 60.0% C 0.176 H 332.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#BA50AD
RGBrgb(186, 80, 173)
HSLhsl(307, 43%, 52%)
HSVhsv(307, 57%, 73%)
CMYKcmyk(0%, 57%, 7%, 27.1%)
CIE-LABlab(50.92, 54.49, -29.77)
CIE-LCHlch(50.92, 62.09, 331.35°)
OKLaboklab(59.95% 0.1562 -0.0813)
OKLCHoklch(59.95% 0.176 332.5)
XYZxyz(30.6612, 19.1957, 41.6173)
Luminance0.1919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA50AD #50BA5D
analogous
#9250BA #BA50AD #BA5078
triadic
#BA50AD #ADBA50 #50ADBA
tetradic
#BA50AD #BA9250 #50BA5D #5078BA
square
#BA50AD #BA9250 #50BA5D #5078BA
split-complementary
#BA50AD #78BA50 #50BA92
monochromatic
#67295F #933A88 #BA50AD #CB7CC2 #DDA8D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA50AD#FFFFFF#000000##000000
##BA50AD1.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)
#4D70B0
Deuteranopia (green-blind)
#6D7FAA
Tritanopia (blue-blind)
#C15877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba50ad;
/* rgb */ color: rgb(186, 80, 173);
/* oklch */ color: oklch(60.0% 0.176 332.5);
Tailwind
colors: {
  custom: {
    50: '#d187c5',
    500: '#ba50ad',
    950: '#000000',
  },
}
SCSS
$custom: #ba50ad;
$custom-light: #d187c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba50ad",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 173
  },
  "hsl": {
    "h": 307.358,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59952,
    "c": 0.17603,
    "h": 332.5
  },
  "luminance": 0.19194
}

Semantic roles & 50–950 ramp

primary
#BA50AD
secondary
#9CCAA1
accent
#D36455
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BA50AD

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

Preview Lab → · Contrast checker → · Palette generator →

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