#BA53DB#BA53DB

#BA53DB is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 62.8% C 0.213 H 317.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#BA53DB
RGBrgb(186, 83, 219)
HSLhsl(285, 65%, 59%)
HSVhsv(285, 62%, 86%)
CMYKcmyk(15.1%, 62.1%, 0%, 14.1%)
CIE-LABlab(53.75, 61.54, -51.77)
CIE-LCHlch(53.75, 80.42, 319.92°)
OKLaboklab(62.78% 0.1558 -0.1449)
OKLCHoklch(62.78% 0.213 317.1)
XYZxyz(36.1273, 21.7415, 69.2976)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53DB #74DB53
analogous
#7653DB #BA53DB #DB53B8
triadic
#BA53DB #DBBA53 #53DBBA
tetradic
#BA53DB #DB7653 #74DB53 #53B8DB
square
#BA53DB #DB7653 #74DB53 #53B8DB
split-complementary
#BA53DB #B8DB53 #53DB76
monochromatic
#781F95 #A12AC7 #BA53DB #CE86E6 #E3B8F0

Accessibility & contrast

On white

3.93
#BA53DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#BA53DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53DB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53DB#FFFFFF#000000##000000
##BA53DB1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#277ADF
Deuteranopia (green-blind)
#5684D8
Tritanopia (blue-blind)
#B96B90
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ba53db;
/* rgb */ color: rgb(186, 83, 219);
/* oklch */ color: oklch(62.8% 0.213 317.1);
Tailwind
colors: {
  custom: {
    50: '#d289e7',
    500: '#ba53db',
    950: '#000000',
  },
}
SCSS
$custom: #ba53db;
$custom-light: #d289e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53db",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 219
  },
  "hsl": {
    "h": 285.441,
    "s": 65.385,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62778,
    "c": 0.21284,
    "h": 317.1
  },
  "luminance": 0.2174
}

Semantic roles & 50–950 ramp

primary
#BA53DB
secondary
#B7DFAA
accent
#E83F68
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #BA53DB

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

Preview Lab → · Contrast checker → · Palette generator →

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