#BA50BD#BA50BD

#BA50BD is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.8% C 0.190 H 326.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#BA50BD
RGBrgb(186, 80, 189)
HSLhsl(298, 45%, 53%)
HSVhsv(298, 58%, 74%)
CMYKcmyk(1.6%, 57.7%, 0%, 25.9%)
CIE-LABlab(51.67, 57.25, -37.90)
CIE-LCHlch(51.67, 68.66, 326.50°)
OKLaboklab(60.75% 0.1581 -0.1046)
OKLCHoklch(60.75% 0.19 326.5)
XYZxyz(32.3031, 19.8525, 50.2647)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA50BD #53BD50
analogous
#8450BD #BA50BD #BD5089
triadic
#BA50BD #BDBA50 #50BDBA
tetradic
#BA50BD #BD8450 #53BD50 #5089BD
square
#BA50BD #BD8450 #53BD50 #5089BD
split-complementary
#BA50BD #89BD50 #50BD84
monochromatic
#69286A #943997 #BA50BD #CC7CCE #DDA9DF

Accessibility & contrast

On white

4.23
#BA50BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#BA50BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA50BD
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA50BD#FFFFFF#000000##000000
##BA50BD1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4272C0
Deuteranopia (green-blind)
#6680BA
Tritanopia (blue-blind)
#BF5E7F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba50bd;
/* rgb */ color: rgb(186, 80, 189);
/* oklch */ color: oklch(60.8% 0.190 326.5);
Tailwind
colors: {
  custom: {
    50: '#d187d1',
    500: '#ba50bd',
    950: '#000000',
  },
}
SCSS
$custom: #ba50bd;
$custom-light: #d187d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba50bd",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 189
  },
  "hsl": {
    "h": 298.349,
    "s": 45.228,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60751,
    "c": 0.1896,
    "h": 326.5
  },
  "luminance": 0.19851
}

Semantic roles & 50–950 ramp

primary
#BA50BD
secondary
#9ECC9D
accent
#D55356
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BA50BD

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

Preview Lab → · Contrast checker → · Palette generator →

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