#BA53E9#BA53E9

#BA53E9 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.6% C 0.226 H 313.4°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#BA53E9
RGBrgb(186, 83, 233)
HSLhsl(281, 77%, 62%)
HSVhsv(281, 64%, 91%)
CMYKcmyk(20.2%, 64.4%, 0%, 8.6%)
CIE-LABlab(54.56, 64.34, -58.37)
CIE-LCHlch(54.56, 86.87, 317.79°)
OKLaboklab(63.63% 0.1555 -0.1642)
OKLCHoklch(63.63% 0.226 313.4)
XYZxyz(38.0484, 22.5099, 79.4156)
Luminance0.2251 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53E9 #82E953
analogous
#6F53E9 #BA53E9 #E953CD
triadic
#BA53E9 #E9BA53 #53E9BA
tetradic
#BA53E9 #E96F53 #82E953 #53CDE9
square
#BA53E9 #E96F53 #82E953 #53CDE9
split-complementary
#BA53E9 #CDE953 #53E96F
monochromatic
#7D16AC #A41DE2 #BA53E9 #D089F0 #E6C0F7

Accessibility & contrast

On white

3.82
#BA53E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#BA53E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53E9
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53E9#FFFFFF#000000##000000
##BA53E91.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#4A85E5
Tritanopia (blue-blind)
#B57097
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba53e9;
/* rgb */ color: rgb(186, 83, 233);
/* oklch */ color: oklch(63.6% 0.226 313.4);
Tailwind
colors: {
  custom: {
    50: '#d38af1',
    500: '#ba53e9',
    950: '#000000',
  },
}
SCSS
$custom: #ba53e9;
$custom-light: #d38af1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53e9",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 233
  },
  "hsl": {
    "h": 281.2,
    "s": 77.32,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63626,
    "c": 0.2262,
    "h": 313.4
  },
  "luminance": 0.22509
}

Semantic roles & 50–950 ramp

primary
#BA53E9
secondary
#C2E8B0
accent
#DA0C4C
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #BA53E9

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

Preview Lab → · Contrast checker → · Palette generator →

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