#BA53EB#BA53EB

#BA53EB is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.8% C 0.228 H 313.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#BA53EB
RGBrgb(186, 83, 235)
HSLhsl(281, 79%, 62%)
HSVhsv(281, 65%, 92%)
CMYKcmyk(20.9%, 64.7%, 0%, 7.8%)
CIE-LABlab(54.68, 64.75, -59.30)
CIE-LCHlch(54.68, 87.80, 317.52°)
OKLaboklab(63.75% 0.1554 -0.167)
OKLCHoklch(63.75% 0.228 313)
XYZxyz(38.3357, 22.6249, 80.9288)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53EB #84EB53
analogous
#6E53EB #BA53EB #EB53D0
triadic
#BA53EB #EBBA53 #53EBBA
tetradic
#BA53EB #EB6E53 #84EB53 #53D0EB
square
#BA53EB #EB6E53 #84EB53 #53D0EB
split-complementary
#BA53EB #D0EB53 #53EB6E
monochromatic
#7D14AF #A41CE5 #BA53EB #D08AF1 #E6C1F8

Accessibility & contrast

On white

3.80
#BA53EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#BA53EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53EB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53EB#FFFFFF#000000##000000
##BA53EB1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#4885E7
Tritanopia (blue-blind)
#B57198
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ba53eb;
/* rgb */ color: rgb(186, 83, 235);
/* oklch */ color: oklch(63.8% 0.228 313.0);
Tailwind
colors: {
  custom: {
    50: '#d38af2',
    500: '#ba53eb',
    950: '#000000',
  },
}
SCSS
$custom: #ba53eb;
$custom-light: #d38af2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53eb",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 235
  },
  "hsl": {
    "h": 280.658,
    "s": 79.167,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63751,
    "c": 0.22812,
    "h": 313
  },
  "luminance": 0.22624
}

Semantic roles & 50–950 ramp

primary
#BA53EB
secondary
#C3E9B1
accent
#DB0A4E
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #BA53EB

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

Preview Lab → · Contrast checker → · Palette generator →

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