#BA53A2#BA53A2

#BA53A2 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 59.8% C 0.163 H 337.3°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#BA53A2
RGBrgb(186, 83, 162)
HSLhsl(314, 43%, 53%)
HSVhsv(314, 55%, 73%)
CMYKcmyk(0%, 55.4%, 12.9%, 27.1%)
CIE-LABlab(50.96, 51.29, -23.25)
CIE-LCHlch(50.96, 56.31, 335.62°)
OKLaboklab(59.83% 0.15 -0.0628)
OKLCHoklch(59.83% 0.163 337.3)
XYZxyz(29.8648, 19.2365, 36.3155)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53A2 #53BA6B
analogous
#9F53BA #BA53A2 #BA536E
triadic
#BA53A2 #A2BA53 #53A2BA
tetradic
#BA53A2 #BA9F53 #53BA6B #536EBA
square
#BA53A2 #BA9F53 #53BA6B #536EBA
split-complementary
#BA53A2 #6EBA53 #53BA9F
monochromatic
#692A5A #943B80 #BA53A2 #CC7FBA #DDAAD1

Accessibility & contrast

On white

4.33
#BA53A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#BA53A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53A2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53A2#FFFFFF#000000##000000
##BA53A21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#556FA5
Deuteranopia (green-blind)
#737F9F
Tritanopia (blue-blind)
#C35773
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba53a2;
/* rgb */ color: rgb(186, 83, 162);
/* oklch */ color: oklch(59.8% 0.163 337.3);
Tailwind
colors: {
  custom: {
    50: '#d188bd',
    500: '#ba53a2',
    950: '#000000',
  },
}
SCSS
$custom: #ba53a2;
$custom-light: #d188bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53a2",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 162
  },
  "hsl": {
    "h": 313.981,
    "s": 42.739,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59832,
    "c": 0.16264,
    "h": 337.3
  },
  "luminance": 0.19234
}

Semantic roles & 50–950 ramp

primary
#BA53A2
secondary
#9ECBA8
accent
#D37255
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #BA53A2

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

Preview Lab → · Contrast checker → · Palette generator →

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