#BA53D6#BA53D6

#BA53D6 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.5% C 0.208 H 318.5°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#BA53D6
RGBrgb(186, 83, 214)
HSLhsl(287, 62%, 58%)
HSVhsv(287, 61%, 84%)
CMYKcmyk(13.1%, 61.2%, 0%, 16.1%)
CIE-LABlab(53.47, 60.56, -49.38)
CIE-LCHlch(53.47, 78.14, 320.80°)
OKLaboklab(62.49% 0.1558 -0.138)
OKLCHoklch(62.49% 0.208 318.5)
XYZxyz(35.4789, 21.4821, 65.8829)
Luminance0.2148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53D6 #6FD653
analogous
#7953D6 #BA53D6 #D653B0
triadic
#BA53D6 #D6BA53 #53D6BA
tetradic
#BA53D6 #D67953 #6FD653 #53B0D6
square
#BA53D6 #D67953 #6FD653 #53B0D6
split-complementary
#BA53D6 #B0D653 #53D679
monochromatic
#76228D #9F2DBE #BA53D6 #CE84E2 #E2B6EE

Accessibility & contrast

On white

3.97
#BA53D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#BA53D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53D6
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53D6#FFFFFF#000000##000000
##BA53D61.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F79DA
Deuteranopia (green-blind)
#5A83D3
Tritanopia (blue-blind)
#BA698D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ba53d6;
/* rgb */ color: rgb(186, 83, 214);
/* oklch */ color: oklch(62.5% 0.208 318.5);
Tailwind
colors: {
  custom: {
    50: '#d289e3',
    500: '#ba53d6',
    950: '#000000',
  },
}
SCSS
$custom: #ba53d6;
$custom-light: #d289e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53d6",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 214
  },
  "hsl": {
    "h": 287.176,
    "s": 61.502,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62487,
    "c": 0.20811,
    "h": 318.5
  },
  "luminance": 0.21481
}

Semantic roles & 50–950 ramp

primary
#BA53D6
secondary
#B3DCA8
accent
#E54366
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C15
muted
#837D84

Preview Lab

Preview with #BA53D6

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

Preview Lab → · Contrast checker → · Palette generator →

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