#BA53BA#BA53BA

#BA53BA is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.0% C 0.182 H 327.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BA53BA
RGBrgb(186, 83, 186)
HSLhsl(300, 43%, 53%)
HSVhsv(300, 55%, 73%)
CMYKcmyk(0%, 55.4%, 0%, 27.1%)
CIE-LABlab(52.03, 55.34, -35.59)
CIE-LCHlch(52.03, 65.80, 327.25°)
OKLaboklab(60.97% 0.154 -0.098)
OKLCHoklch(60.97% 0.182 327.5)
XYZxyz(32.2054, 20.1727, 48.6423)
Luminance0.2017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53BA #53BA53
analogous
#8653BA #BA53BA #BA5386
triadic
#BA53BA #BABA53 #53BABA
tetradic
#BA53BA #BA8653 #53BA53 #5386BA
square
#BA53BA #BA8653 #53BA53 #5386BA
split-complementary
#BA53BA #86BA53 #53BA86
monochromatic
#692A69 #943B94 #BA53BA #CC7FCC #DDAADD

Accessibility & contrast

On white

4.17
#BA53BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#BA53BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53BA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53BA#FFFFFF#000000##000000
##BA53BA1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4873BD
Deuteranopia (green-blind)
#6A81B7
Tritanopia (blue-blind)
#BF5F7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba53ba;
/* rgb */ color: rgb(186, 83, 186);
/* oklch */ color: oklch(61.0% 0.182 327.5);
Tailwind
colors: {
  custom: {
    50: '#d189cf',
    500: '#ba53ba',
    950: '#000000',
  },
}
SCSS
$custom: #ba53ba;
$custom-light: #d189cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53ba",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 186
  },
  "hsl": {
    "h": 300,
    "s": 42.739,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60968,
    "c": 0.18248,
    "h": 327.5
  },
  "luminance": 0.20171
}

Semantic roles & 50–950 ramp

primary
#BA53BA
secondary
#9ECB9E
accent
#D35555
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BA53BA

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

Preview Lab → · Contrast checker → · Palette generator →

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