#BA53CA#BA53CA

#BA53CA is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.8% C 0.197 H 322.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BA53CA
RGBrgb(186, 83, 202)
HSLhsl(292, 53%, 56%)
HSVhsv(292, 59%, 79%)
CMYKcmyk(7.9%, 58.9%, 0%, 20.8%)
CIE-LABlab(52.83, 58.26, -43.55)
CIE-LCHlch(52.83, 72.74, 323.22°)
OKLaboklab(61.81% 0.1554 -0.121)
OKLCHoklch(61.81% 0.197 322.1)
XYZxyz(34.0025, 20.8916, 58.1071)
Luminance0.2089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53CA #63CA53
analogous
#7E53CA #BA53CA #CA539E
triadic
#BA53CA #CABA53 #53CABA
tetradic
#BA53CA #CA7E53 #63CA53 #539ECA
square
#BA53CA #CA7E53 #63CA53 #539ECA
split-complementary
#BA53CA #9ECA53 #53CA7E
monochromatic
#71267C #9B35AB #BA53CA #CD82D8 #E0B1E7

Accessibility & contrast

On white

4.06
#BA53CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#BA53CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53CA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53CA#FFFFFF#000000##000000
##BA53CA1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C77CE
Deuteranopia (green-blind)
#6182C7
Tritanopia (blue-blind)
#BC6587
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba53ca;
/* rgb */ color: rgb(186, 83, 202);
/* oklch */ color: oklch(61.8% 0.197 322.1);
Tailwind
colors: {
  custom: {
    50: '#d289da',
    500: '#ba53ca',
    950: '#000000',
  },
}
SCSS
$custom: #ba53ca;
$custom-light: #d289da;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53ca",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 202
  },
  "hsl": {
    "h": 291.933,
    "s": 52.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61812,
    "c": 0.19691,
    "h": 322.1
  },
  "luminance": 0.2089
}

Semantic roles & 50–950 ramp

primary
#BA53CA
secondary
#AAD5A4
accent
#DC4C5F
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA53CA

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

Preview Lab → · Contrast checker → · Palette generator →

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