#BA53CC#BA53CC

#BA53CC is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.9% C 0.199 H 321.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#BA53CC
RGBrgb(186, 83, 204)
HSLhsl(291, 54%, 56%)
HSVhsv(291, 59%, 80%)
CMYKcmyk(8.8%, 59.3%, 0%, 20%)
CIE-LABlab(52.94, 58.64, -44.53)
CIE-LCHlch(52.94, 73.63, 322.79°)
OKLaboklab(61.92% 0.1555 -0.1238)
OKLCHoklch(61.92% 0.199 321.5)
XYZxyz(34.2408, 20.9869, 59.3623)
Luminance0.2099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53CC #65CC53
analogous
#7E53CC #BA53CC #CC53A2
triadic
#BA53CC #CCBA53 #53CCBA
tetradic
#BA53CC #CC7E53 #65CC53 #53A2CC
square
#BA53CC #CC7E53 #65CC53 #53A2CC
split-complementary
#BA53CC #A2CC53 #53CC7E
monochromatic
#72267F #9C34AE #BA53CC #CD82DA #E0B1E8

Accessibility & contrast

On white

4.04
#BA53CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#BA53CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53CC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53CC#FFFFFF#000000##000000
##BA53CC1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A77D0
Deuteranopia (green-blind)
#6082C9
Tritanopia (blue-blind)
#BC6588
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba53cc;
/* rgb */ color: rgb(186, 83, 204);
/* oklch */ color: oklch(61.9% 0.199 321.5);
Tailwind
colors: {
  custom: {
    50: '#d289dc',
    500: '#ba53cc',
    950: '#000000',
  },
}
SCSS
$custom: #ba53cc;
$custom-light: #d289dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53cc",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 204
  },
  "hsl": {
    "h": 291.074,
    "s": 54.26,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61922,
    "c": 0.19876,
    "h": 321.5
  },
  "luminance": 0.20985
}

Semantic roles & 50–950 ramp

primary
#BA53CC
secondary
#ACD6A4
accent
#DE4A60
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA53CC

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

Preview Lab → · Contrast checker → · Palette generator →

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