#BA50AA#BA50AA

#BA50AA is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.8% C 0.174 H 333.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#BA50AA
RGBrgb(186, 80, 170)
HSLhsl(309, 43%, 52%)
HSVhsv(309, 57%, 73%)
CMYKcmyk(0%, 57%, 8.6%, 27.1%)
CIE-LABlab(50.78, 53.99, -28.22)
CIE-LCHlch(50.78, 60.92, 332.40°)
OKLaboklab(59.81% 0.1557 -0.0768)
OKLCHoklch(59.81% 0.174 333.7)
XYZxyz(30.3741, 19.0809, 40.1056)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA50AA #50BA60
analogous
#9550BA #BA50AA #BA5075
triadic
#BA50AA #AABA50 #50AABA
tetradic
#BA50AA #BA9550 #50BA60 #5075BA
square
#BA50AA #BA9550 #50BA60 #5075BA
split-complementary
#BA50AA #75BA50 #50BA95
monochromatic
#67295E #933A85 #BA50AA #CB7CBF #DDA8D5

Accessibility & contrast

On white

4.36
#BA50AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#BA50AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA50AA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA50AA#FFFFFF#000000##000000
##BA50AA1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6FAD
Deuteranopia (green-blind)
#6F7FA7
Tritanopia (blue-blind)
#C25776
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba50aa;
/* rgb */ color: rgb(186, 80, 170);
/* oklch */ color: oklch(59.8% 0.174 333.7);
Tailwind
colors: {
  custom: {
    50: '#d186c3',
    500: '#ba50aa',
    950: '#000000',
  },
}
SCSS
$custom: #ba50aa;
$custom-light: #d186c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba50aa",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 170
  },
  "hsl": {
    "h": 309.057,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5981,
    "c": 0.17359,
    "h": 333.7
  },
  "luminance": 0.19079
}

Semantic roles & 50–950 ramp

primary
#BA50AA
secondary
#9CCAA3
accent
#D36855
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C12
muted
#837D81

Preview Lab

Preview with #BA50AA

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

Preview Lab → · Contrast checker → · Palette generator →

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