#BA53E8#BA53E8

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

Color values

HEX#BA53E8
RGBrgb(186, 83, 232)
HSLhsl(281, 76%, 62%)
HSVhsv(281, 64%, 91%)
CMYKcmyk(19.8%, 64.2%, 0%, 9%)
CIE-LABlab(54.50, 64.14, -57.90)
CIE-LCHlch(54.50, 86.41, 317.93°)
OKLaboklab(63.56% 0.1556 -0.1629)
OKLCHoklch(63.56% 0.225 313.7)
XYZxyz(37.9060, 22.4530, 78.6654)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53E8 #81E853
analogous
#7053E8 #BA53E8 #E853CB
triadic
#BA53E8 #E8BA53 #53E8BA
tetradic
#BA53E8 #E87053 #81E853 #53CBE8
square
#BA53E8 #E87053 #81E853 #53CBE8
split-complementary
#BA53E8 #CBE853 #53E870
monochromatic
#7C17AA #A41EE0 #BA53E8 #D089EF #E5BFF6

Accessibility & contrast

On white

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

On black

5.49
#BA53E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53E8
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53E8#FFFFFF#000000##000000
##BA53E81.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#027DED
Deuteranopia (green-blind)
#4B85E5
Tritanopia (blue-blind)
#B67097
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba53e8;
/* rgb */ color: rgb(186, 83, 232);
/* oklch */ color: oklch(63.6% 0.225 313.7);
Tailwind
colors: {
  custom: {
    50: '#d38af0',
    500: '#ba53e8',
    950: '#000000',
  },
}
SCSS
$custom: #ba53e8;
$custom-light: #d38af0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53e8",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 232
  },
  "hsl": {
    "h": 281.477,
    "s": 76.41,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63564,
    "c": 0.22524,
    "h": 313.7
  },
  "luminance": 0.22452
}

Semantic roles & 50–950 ramp

primary
#BA53E8
secondary
#C1E7B0
accent
#D90D4C
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #BA53E8

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

Preview Lab → · Contrast checker → · Palette generator →

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