#BA53BC#BA53BC

#BA53BC is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.1% C 0.184 H 326.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BA53BC
RGBrgb(186, 83, 188)
HSLhsl(299, 44%, 53%)
HSVhsv(299, 56%, 74%)
CMYKcmyk(1.1%, 55.9%, 0%, 26.3%)
CIE-LABlab(52.13, 55.69, -36.60)
CIE-LCHlch(52.13, 66.64, 326.69°)
OKLaboklab(61.07% 0.1542 -0.1009)
OKLCHoklch(61.07% 0.184 326.8)
XYZxyz(32.4195, 20.2584, 49.7699)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53BC #55BC53
analogous
#8553BC #BA53BC #BC5389
triadic
#BA53BC #BCBA53 #53BCBA
tetradic
#BA53BC #BC8553 #55BC53 #5389BC
square
#BA53BC #BC8553 #55BC53 #5389BC
split-complementary
#BA53BC #89BC53 #53BC85
monochromatic
#6A2A6B #953B97 #BA53BC #CC7FCD #DDABDE

Accessibility & contrast

On white

4.16
#BA53BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#BA53BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53BC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53BC#FFFFFF#000000##000000
##BA53BC1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4774BF
Deuteranopia (green-blind)
#6981B9
Tritanopia (blue-blind)
#BF6080
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba53bc;
/* rgb */ color: rgb(186, 83, 188);
/* oklch */ color: oklch(61.1% 0.184 326.8);
Tailwind
colors: {
  custom: {
    50: '#d189d0',
    500: '#ba53bc',
    950: '#000000',
  },
}
SCSS
$custom: #ba53bc;
$custom-light: #d189d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53bc",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 188
  },
  "hsl": {
    "h": 298.857,
    "s": 43.933,
    "l": 53.137
  },
  "oklch": {
    "l": 0.6107,
    "c": 0.18425,
    "h": 326.8
  },
  "luminance": 0.20256
}

Semantic roles & 50–950 ramp

primary
#BA53BC
secondary
#A0CC9F
accent
#D45457
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BA53BC

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

Preview Lab → · Contrast checker → · Palette generator →

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