#BA53BD#BA53BD

#BA53BD is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.1% C 0.185 H 326.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BA53BD
RGBrgb(186, 83, 189)
HSLhsl(298, 45%, 53%)
HSVhsv(298, 56%, 74%)
CMYKcmyk(1.6%, 56.1%, 0%, 25.9%)
CIE-LABlab(52.18, 55.87, -37.10)
CIE-LCHlch(52.18, 67.07, 326.41°)
OKLaboklab(61.12% 0.1543 -0.1023)
OKLCHoklch(61.12% 0.185 326.4)
XYZxyz(32.5276, 20.3016, 50.3396)
Luminance0.2030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53BD #56BD53
analogous
#8553BD #BA53BD #BD538B
triadic
#BA53BD #BDBA53 #53BDBA
tetradic
#BA53BD #BD8553 #56BD53 #538BBD
square
#BA53BD #BD8553 #56BD53 #538BBD
split-complementary
#BA53BD #8BBD53 #53BD85
monochromatic
#6A296C #963A98 #BA53BD #CC7FCE #DDABDF

Accessibility & contrast

On white

4.15
#BA53BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#BA53BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53BD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53BD#FFFFFF#000000##000000
##BA53BD1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4674C0
Deuteranopia (green-blind)
#6881BA
Tritanopia (blue-blind)
#BF6080
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba53bd;
/* rgb */ color: rgb(186, 83, 189);
/* oklch */ color: oklch(61.1% 0.185 326.4);
Tailwind
colors: {
  custom: {
    50: '#d189d1',
    500: '#ba53bd',
    950: '#000000',
  },
}
SCSS
$custom: #ba53bd;
$custom-light: #d189d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53bd",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 189
  },
  "hsl": {
    "h": 298.302,
    "s": 44.538,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61121,
    "c": 0.18513,
    "h": 326.4
  },
  "luminance": 0.203
}

Semantic roles & 50–950 ramp

primary
#BA53BD
secondary
#A0CD9F
accent
#D45457
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BA53BD

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

Preview Lab → · Contrast checker → · Palette generator →

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