#BA53EA#BA53EA

#BA53EA is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.7% C 0.227 H 313.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#BA53EA
RGBrgb(186, 83, 234)
HSLhsl(281, 78%, 62%)
HSVhsv(281, 65%, 92%)
CMYKcmyk(20.5%, 64.5%, 0%, 8.2%)
CIE-LABlab(54.62, 64.55, -58.83)
CIE-LCHlch(54.62, 87.34, 317.65°)
OKLaboklab(63.69% 0.1555 -0.1656)
OKLCHoklch(63.69% 0.227 313.2)
XYZxyz(38.1917, 22.5672, 80.1700)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53EA #83EA53
analogous
#6F53EA #BA53EA #EA53CF
triadic
#BA53EA #EABA53 #53EABA
tetradic
#BA53EA #EA6F53 #83EA53 #53CFEA
square
#BA53EA #EA6F53 #83EA53 #53CFEA
split-complementary
#BA53EA #CFEA53 #53EA6F
monochromatic
#7D15AD #A41CE3 #BA53EA #D08AF1 #E6C0F7

Accessibility & contrast

On white

3.81
#BA53EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#BA53EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53EA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53EA#FFFFFF#000000##000000
##BA53EA1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEF
Deuteranopia (green-blind)
#4985E6
Tritanopia (blue-blind)
#B57098
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ba53ea;
/* rgb */ color: rgb(186, 83, 234);
/* oklch */ color: oklch(63.7% 0.227 313.2);
Tailwind
colors: {
  custom: {
    50: '#d38af1',
    500: '#ba53ea',
    950: '#000000',
  },
}
SCSS
$custom: #ba53ea;
$custom-light: #d38af1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53ea",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 234
  },
  "hsl": {
    "h": 280.927,
    "s": 78.238,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63688,
    "c": 0.22716,
    "h": 313.2
  },
  "luminance": 0.22566
}

Semantic roles & 50–950 ramp

primary
#BA53EA
secondary
#C2E8B1
accent
#DB0B4D
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #BA53EA

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

Preview Lab → · Contrast checker → · Palette generator →

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