#BA53DC#BA53DC

#BA53DC is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 62.8% C 0.214 H 316.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#BA53DC
RGBrgb(186, 83, 220)
HSLhsl(285, 66%, 59%)
HSVhsv(285, 62%, 86%)
CMYKcmyk(15.5%, 62.3%, 0%, 13.7%)
CIE-LABlab(53.81, 61.73, -52.25)
CIE-LCHlch(53.81, 80.88, 319.76°)
OKLaboklab(62.84% 0.1558 -0.1463)
OKLCHoklch(62.84% 0.214 316.8)
XYZxyz(36.2593, 21.7943, 69.9930)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53DC #75DC53
analogous
#7553DC #BA53DC #DC53BA
triadic
#BA53DC #DCBA53 #53DCBA
tetradic
#BA53DC #DC7553 #75DC53 #53BADC
square
#BA53DC #DC7553 #75DC53 #53BADC
split-complementary
#BA53DC #BADC53 #53DC75
monochromatic
#781F96 #A129C9 #BA53DC #CE86E6 #E3B9F1

Accessibility & contrast

On white

3.92
#BA53DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#BA53DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53DC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53DC#FFFFFF#000000##000000
##BA53DC1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#267AE0
Deuteranopia (green-blind)
#5584D9
Tritanopia (blue-blind)
#B86B90
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba53dc;
/* rgb */ color: rgb(186, 83, 220);
/* oklch */ color: oklch(62.8% 0.214 316.8);
Tailwind
colors: {
  custom: {
    50: '#d289e7',
    500: '#ba53dc',
    950: '#000000',
  },
}
SCSS
$custom: #ba53dc;
$custom-light: #d289e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53dc",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 220
  },
  "hsl": {
    "h": 285.109,
    "s": 66.184,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62838,
    "c": 0.21379,
    "h": 316.8
  },
  "luminance": 0.21793
}

Semantic roles & 50–950 ramp

primary
#BA53DC
secondary
#B8E0AB
accent
#E93F69
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #BA53DC

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

Preview Lab → · Contrast checker → · Palette generator →

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