#BA53B2#BA53B2

#BA53B2 is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.6% C 0.176 H 330.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#BA53B2
RGBrgb(186, 83, 178)
HSLhsl(305, 43%, 53%)
HSVhsv(305, 55%, 73%)
CMYKcmyk(0%, 55.4%, 4.3%, 27.1%)
CIE-LABlab(51.66, 53.94, -31.53)
CIE-LCHlch(51.66, 62.48, 329.69°)
OKLaboklab(60.57% 0.1529 -0.0863)
OKLCHoklch(60.57% 0.176 330.6)
XYZxyz(31.3786, 19.8420, 44.2880)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53B2 #53BA5B
analogous
#8E53BA #BA53B2 #BA537E
triadic
#BA53B2 #B2BA53 #53B2BA
tetradic
#BA53B2 #BA8E53 #53BA5B #537EBA
square
#BA53B2 #BA8E53 #53BA5B #537EBA
split-complementary
#BA53B2 #7EBA53 #53BA8E
monochromatic
#692A64 #943B8D #BA53B2 #CC7FC6 #DDAAD9

Accessibility & contrast

On white

4.23
#BA53B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#BA53B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53B2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53B2#FFFFFF#000000##000000
##BA53B21.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B5
Deuteranopia (green-blind)
#6D80AF
Tritanopia (blue-blind)
#C15C7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba53b2;
/* rgb */ color: rgb(186, 83, 178);
/* oklch */ color: oklch(60.6% 0.176 330.6);
Tailwind
colors: {
  custom: {
    50: '#d188c9',
    500: '#ba53b2',
    950: '#000000',
  },
}
SCSS
$custom: #ba53b2;
$custom-light: #d188c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53b2",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 178
  },
  "hsl": {
    "h": 304.66,
    "s": 42.739,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60572,
    "c": 0.17557,
    "h": 330.6
  },
  "luminance": 0.1984
}

Semantic roles & 50–950 ramp

primary
#BA53B2
secondary
#9ECBA2
accent
#D35F55
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BA53B2

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

Preview Lab → · Contrast checker → · Palette generator →

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