#BA53C8#BA53C8

#BA53C8 is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.7% C 0.195 H 322.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#BA53C8
RGBrgb(186, 83, 200)
HSLhsl(293, 52%, 55%)
HSVhsv(293, 59%, 78%)
CMYKcmyk(7%, 58.5%, 0%, 21.6%)
CIE-LABlab(52.73, 57.89, -42.57)
CIE-LCHlch(52.73, 71.85, 323.67°)
OKLaboklab(61.7% 0.1552 -0.1181)
OKLCHoklch(61.7% 0.195 322.7)
XYZxyz(33.7672, 20.7975, 56.8681)
Luminance0.2080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53C8 #61C853
analogous
#8053C8 #BA53C8 #C8539B
triadic
#BA53C8 #C8BA53 #53C8BA
tetradic
#BA53C8 #C88053 #61C853 #539BC8
square
#BA53C8 #C88053 #61C853 #539BC8
split-complementary
#BA53C8 #9BC853 #53C880
monochromatic
#70277A #9A36A8 #BA53C8 #CD81D7 #DFB0E6

Accessibility & contrast

On white

4.07
#BA53C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#BA53C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53C8
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53C8#FFFFFF#000000##000000
##BA53C81.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E76CC
Deuteranopia (green-blind)
#6282C5
Tritanopia (blue-blind)
#BD6486
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba53c8;
/* rgb */ color: rgb(186, 83, 200);
/* oklch */ color: oklch(61.7% 0.195 322.7);
Tailwind
colors: {
  custom: {
    50: '#d289d9',
    500: '#ba53c8',
    950: '#000000',
  },
}
SCSS
$custom: #ba53c8;
$custom-light: #d289d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53c8",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 200
  },
  "hsl": {
    "h": 292.821,
    "s": 51.542,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61703,
    "c": 0.19507,
    "h": 322.7
  },
  "luminance": 0.20796
}

Semantic roles & 50–950 ramp

primary
#BA53C8
secondary
#A9D4A3
accent
#DB4D5E
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA53C8

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

Preview Lab → · Contrast checker → · Palette generator →

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