#BA53DF#BA53DF

#BA53DF is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.0% C 0.217 H 316.0°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#BA53DF
RGBrgb(186, 83, 223)
HSLhsl(284, 69%, 60%)
HSVhsv(284, 63%, 87%)
CMYKcmyk(16.6%, 62.8%, 0%, 12.5%)
CIE-LABlab(53.98, 62.33, -53.67)
CIE-LCHlch(53.98, 82.25, 319.27°)
OKLaboklab(63.02% 0.1558 -0.1505)
OKLCHoklch(63.02% 0.217 316)
XYZxyz(36.6602, 21.9547, 72.1043)
Luminance0.2195 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53DF #78DF53
analogous
#7453DF #BA53DF #DF53BE
triadic
#BA53DF #DFBA53 #53DFBA
tetradic
#BA53DF #DF7453 #78DF53 #53BEDF
square
#BA53DF #DF7453 #78DF53 #53BEDF
split-complementary
#BA53DF #BEDF53 #53DF74
monochromatic
#7A1D9B #A226CE #BA53DF #CF87E9 #E3BAF2

Accessibility & contrast

On white

3.90
#BA53DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#BA53DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53DF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53DF#FFFFFF#000000##000000
##BA53DF1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#207BE3
Deuteranopia (green-blind)
#5384DC
Tritanopia (blue-blind)
#B86C92
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba53df;
/* rgb */ color: rgb(186, 83, 223);
/* oklch */ color: oklch(63.0% 0.217 316.0);
Tailwind
colors: {
  custom: {
    50: '#d28aea',
    500: '#ba53df',
    950: '#000000',
  },
}
SCSS
$custom: #ba53df;
$custom-light: #d28aea;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53df",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 223
  },
  "hsl": {
    "h": 284.143,
    "s": 68.627,
    "l": 60
  },
  "oklch": {
    "l": 0.63016,
    "c": 0.21663,
    "h": 316
  },
  "luminance": 0.21953
}

Semantic roles & 50–950 ramp

primary
#BA53DF
secondary
#BAE2AC
accent
#EB3C6B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #BA53DF

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

Preview Lab → · Contrast checker → · Palette generator →

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