#BA53E4#BA53E4

#BA53E4 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.3% C 0.221 H 314.7°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#BA53E4
RGBrgb(186, 83, 228)
HSLhsl(283, 73%, 61%)
HSVhsv(283, 64%, 89%)
CMYKcmyk(18.4%, 63.6%, 0%, 10.6%)
CIE-LABlab(54.27, 63.33, -56.03)
CIE-LCHlch(54.27, 84.56, 318.50°)
OKLaboklab(63.32% 0.1557 -0.1574)
OKLCHoklch(63.32% 0.221 314.7)
XYZxyz(37.3443, 22.2283, 75.7071)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53E4 #7DE453
analogous
#7153E4 #BA53E4 #E453C5
triadic
#BA53E4 #E4BA53 #53E4BA
tetradic
#BA53E4 #E47153 #7DE453 #53C5E4
square
#BA53E4 #E47153 #7DE453 #53C5E4
split-complementary
#BA53E4 #C5E453 #53E471
monochromatic
#7B1AA3 #A322D8 #BA53E4 #CF88EC #E4BDF5

Accessibility & contrast

On white

3.86
#BA53E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#BA53E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53E4
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53E4#FFFFFF#000000##000000
##BA53E41.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#147CE8
Deuteranopia (green-blind)
#4F84E1
Tritanopia (blue-blind)
#B76E94
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba53e4;
/* rgb */ color: rgb(186, 83, 228);
/* oklch */ color: oklch(63.3% 0.221 314.7);
Tailwind
colors: {
  custom: {
    50: '#d28aed',
    500: '#ba53e4',
    950: '#000000',
  },
}
SCSS
$custom: #ba53e4;
$custom-light: #d28aed;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53e4",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 228
  },
  "hsl": {
    "h": 282.621,
    "s": 72.864,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63318,
    "c": 0.22141,
    "h": 314.7
  },
  "luminance": 0.22227
}

Semantic roles & 50–950 ramp

primary
#BA53E4
secondary
#BEE5AE
accent
#D51149
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA53E4

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

Preview Lab → · Contrast checker → · Palette generator →

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