#BA53B4#BA53B4

#BA53B4 is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.7% C 0.177 H 329.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#BA53B4
RGBrgb(186, 83, 180)
HSLhsl(303, 43%, 53%)
HSVhsv(303, 55%, 73%)
CMYKcmyk(0%, 55.4%, 3.2%, 27.1%)
CIE-LABlab(51.75, 54.28, -32.55)
CIE-LCHlch(51.75, 63.30, 329.05°)
OKLaboklab(60.67% 0.1532 -0.0892)
OKLCHoklch(60.67% 0.177 329.8)
XYZxyz(31.5809, 19.9229, 45.3533)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53B4 #53BA59
analogous
#8C53BA #BA53B4 #BA5380
triadic
#BA53B4 #B4BA53 #53B4BA
tetradic
#BA53B4 #BA8C53 #53BA59 #5380BA
square
#BA53B4 #BA8C53 #53BA59 #5380BA
split-complementary
#BA53B4 #80BA53 #53BA8C
monochromatic
#692A65 #943B8F #BA53B4 #CC7FC7 #DDAADA

Accessibility & contrast

On white

4.21
#BA53B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#BA53B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53B4
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53B4#FFFFFF#000000##000000
##BA53B41.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C72B7
Deuteranopia (green-blind)
#6C80B1
Tritanopia (blue-blind)
#C05D7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba53b4;
/* rgb */ color: rgb(186, 83, 180);
/* oklch */ color: oklch(60.7% 0.177 329.8);
Tailwind
colors: {
  custom: {
    50: '#d188cb',
    500: '#ba53b4',
    950: '#000000',
  },
}
SCSS
$custom: #ba53b4;
$custom-light: #d188cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53b4",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 180
  },
  "hsl": {
    "h": 303.495,
    "s": 42.739,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60669,
    "c": 0.17728,
    "h": 329.8
  },
  "luminance": 0.19921
}

Semantic roles & 50–950 ramp

primary
#BA53B4
secondary
#9ECBA1
accent
#D35D55
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BA53B4

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

Preview Lab → · Contrast checker → · Palette generator →

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