#BA53E1#BA53E1

#BA53E1 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.1% C 0.219 H 315.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#BA53E1
RGBrgb(186, 83, 225)
HSLhsl(284, 70%, 60%)
HSVhsv(284, 63%, 88%)
CMYKcmyk(17.3%, 63.1%, 0%, 11.8%)
CIE-LABlab(54.09, 62.73, -54.62)
CIE-LCHlch(54.09, 83.17, 318.95°)
OKLaboklab(63.14% 0.1558 -0.1533)
OKLCHoklch(63.14% 0.219 315.5)
XYZxyz(36.9314, 22.0631, 73.5328)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53E1 #7AE153
analogous
#7353E1 #BA53E1 #E153C1
triadic
#BA53E1 #E1BA53 #53E1BA
tetradic
#BA53E1 #E17353 #7AE153 #53C1E1
square
#BA53E1 #E17353 #7AE153 #53C1E1
split-complementary
#BA53E1 #C1E153 #53E173
monochromatic
#7A1C9E #A225D2 #BA53E1 #CF87EA #E4BBF3

Accessibility & contrast

On white

3.88
#BA53E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#BA53E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53E1
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53E1#FFFFFF#000000##000000
##BA53E11.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C7BE5
Deuteranopia (green-blind)
#5184DE
Tritanopia (blue-blind)
#B76D93
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba53e1;
/* rgb */ color: rgb(186, 83, 225);
/* oklch */ color: oklch(63.1% 0.219 315.5);
Tailwind
colors: {
  custom: {
    50: '#d28aeb',
    500: '#ba53e1',
    950: '#000000',
  },
}
SCSS
$custom: #ba53e1;
$custom-light: #d28aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53e1",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 225
  },
  "hsl": {
    "h": 283.521,
    "s": 70.297,
    "l": 60.392
  },
  "oklch": {
    "l": 0.63136,
    "c": 0.21855,
    "h": 315.5
  },
  "luminance": 0.22062
}

Semantic roles & 50–950 ramp

primary
#BA53E1
secondary
#BCE3AD
accent
#D21348
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #BA53E1

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

Preview Lab → · Contrast checker → · Palette generator →

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