#BA53AA#BA53AA

#BA53AA is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.2% C 0.169 H 333.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BA53AA
RGBrgb(186, 83, 170)
HSLhsl(309, 43%, 53%)
HSVhsv(309, 55%, 73%)
CMYKcmyk(0%, 55.4%, 8.6%, 27.1%)
CIE-LABlab(51.30, 52.59, -27.42)
CIE-LCHlch(51.30, 59.31, 332.46°)
OKLaboklab(60.19% 0.1516 -0.0746)
OKLCHoklch(60.19% 0.169 333.8)
XYZxyz(30.5987, 19.5301, 40.1805)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53AA #53BA63
analogous
#9653BA #BA53AA #BA5377
triadic
#BA53AA #AABA53 #53AABA
tetradic
#BA53AA #BA9653 #53BA63 #5377BA
square
#BA53AA #BA9653 #53BA63 #5377BA
split-complementary
#BA53AA #77BA53 #53BA96
monochromatic
#692A5F #943B87 #BA53AA #CC7FC0 #DDAAD5

Accessibility & contrast

On white

4.28
#BA53AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#BA53AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53AA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53AA#FFFFFF#000000##000000
##BA53AA1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5271AD
Deuteranopia (green-blind)
#7080A7
Tritanopia (blue-blind)
#C25A77
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba53aa;
/* rgb */ color: rgb(186, 83, 170);
/* oklch */ color: oklch(60.2% 0.169 333.8);
Tailwind
colors: {
  custom: {
    50: '#d188c3',
    500: '#ba53aa',
    950: '#000000',
  },
}
SCSS
$custom: #ba53aa;
$custom-light: #d188c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53aa",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 170
  },
  "hsl": {
    "h": 309.32,
    "s": 42.739,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60193,
    "c": 0.16894,
    "h": 333.8
  },
  "luminance": 0.19528
}

Semantic roles & 50–950 ramp

primary
#BA53AA
secondary
#9ECBA5
accent
#D36955
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C12
muted
#837D81

Preview Lab

Preview with #BA53AA

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

Preview Lab → · Contrast checker → · Palette generator →

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