#BA53CD#BA53CD

#BA53CD is a mid, vivid purple. Relative luminance 0.210; OKLCH L 62.0% C 0.200 H 321.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BA53CD
RGBrgb(186, 83, 205)
HSLhsl(291, 55%, 56%)
HSVhsv(291, 60%, 80%)
CMYKcmyk(9.3%, 59.5%, 0%, 19.6%)
CIE-LABlab(52.99, 58.83, -45.02)
CIE-LCHlch(52.99, 74.08, 322.57°)
OKLaboklab(61.98% 0.1555 -0.1253)
OKLCHoklch(61.98% 0.2 321.2)
XYZxyz(34.3611, 21.0350, 59.9960)
Luminance0.2103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53CD #66CD53
analogous
#7D53CD #BA53CD #CD53A3
triadic
#BA53CD #CDBA53 #53CDBA
tetradic
#BA53CD #CD7D53 #66CD53 #53A3CD
square
#BA53CD #CD7D53 #66CD53 #53A3CD
split-complementary
#BA53CD #A3CD53 #53CD7D
monochromatic
#722580 #9C33B0 #BA53CD #CD82DB #E0B2E9

Accessibility & contrast

On white

4.03
#BA53CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#BA53CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53CD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53CD#FFFFFF#000000##000000
##BA53CD1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3977D1
Deuteranopia (green-blind)
#5F82CA
Tritanopia (blue-blind)
#BC6688
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba53cd;
/* rgb */ color: rgb(186, 83, 205);
/* oklch */ color: oklch(62.0% 0.200 321.2);
Tailwind
colors: {
  custom: {
    50: '#d289dd',
    500: '#ba53cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba53cd;
$custom-light: #d289dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53cd",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 205
  },
  "hsl": {
    "h": 290.656,
    "s": 54.955,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61977,
    "c": 0.19969,
    "h": 321.2
  },
  "luminance": 0.21033
}

Semantic roles & 50–950 ramp

primary
#BA53CD
secondary
#ADD7A5
accent
#DE4A61
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA53CD

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

Preview Lab → · Contrast checker → · Palette generator →

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