#BA53E2#BA53E2

#BA53E2 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.2% C 0.219 H 315.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#BA53E2
RGBrgb(186, 83, 226)
HSLhsl(283, 71%, 61%)
HSVhsv(283, 63%, 89%)
CMYKcmyk(17.7%, 63.3%, 0%, 11.4%)
CIE-LABlab(54.15, 62.93, -55.09)
CIE-LCHlch(54.15, 83.64, 318.80°)
OKLaboklab(63.2% 0.1558 -0.1546)
OKLCHoklch(63.2% 0.219 315.2)
XYZxyz(37.0682, 22.1179, 74.2533)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53E2 #7BE253
analogous
#7253E2 #BA53E2 #E253C2
triadic
#BA53E2 #E2BA53 #53E2BA
tetradic
#BA53E2 #E27253 #7BE253 #53C2E2
square
#BA53E2 #E27253 #7BE253 #53C2E2
split-complementary
#BA53E2 #C2E253 #53E272
monochromatic
#7B1BA0 #A324D4 #BA53E2 #CF87EB #E4BCF4

Accessibility & contrast

On white

3.87
#BA53E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#BA53E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53E2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53E2#FFFFFF#000000##000000
##BA53E21.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#197BE6
Deuteranopia (green-blind)
#5184DF
Tritanopia (blue-blind)
#B76D93
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba53e2;
/* rgb */ color: rgb(186, 83, 226);
/* oklch */ color: oklch(63.2% 0.219 315.2);
Tailwind
colors: {
  custom: {
    50: '#d28aec',
    500: '#ba53e2',
    950: '#000000',
  },
}
SCSS
$custom: #ba53e2;
$custom-light: #d28aec;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53e2",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 226
  },
  "hsl": {
    "h": 283.217,
    "s": 71.144,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63197,
    "c": 0.21949,
    "h": 315.2
  },
  "luminance": 0.22117
}

Semantic roles & 50–950 ramp

primary
#BA53E2
secondary
#BCE4AD
accent
#D31248
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #BA53E2

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

Preview Lab → · Contrast checker → · Palette generator →

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