#BA50DB#BA50DB

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

Color values

HEX#BA50DB
RGBrgb(186, 80, 219)
HSLhsl(286, 66%, 59%)
HSVhsv(286, 63%, 86%)
CMYKcmyk(15.1%, 63.5%, 0%, 14.1%)
CIE-LABlab(53.27, 62.87, -52.55)
CIE-LCHlch(53.27, 81.94, 320.11°)
OKLaboklab(62.43% 0.1593 -0.1472)
OKLCHoklch(62.43% 0.217 317.3)
XYZxyz(35.9027, 21.2923, 69.2227)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA50DB #71DB50
analogous
#7450DB #BA50DB #DB50B7
triadic
#BA50DB #DBBA50 #50DBBA
tetradic
#BA50DB #DB7450 #71DB50 #50B7DB
square
#BA50DB #DB7450 #71DB50 #50B7DB
split-complementary
#BA50DB #B7DB50 #50DB74
monochromatic
#771E92 #A029C5 #BA50DB #CE83E5 #E2B6F0

Accessibility & contrast

On white

3.99
#BA50DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#BA50DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA50DB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA50DB#FFFFFF#000000##000000
##BA50DB1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2079DF
Deuteranopia (green-blind)
#5482D8
Tritanopia (blue-blind)
#B9698F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba50db;
/* rgb */ color: rgb(186, 80, 219);
/* oklch */ color: oklch(62.4% 0.217 317.3);
Tailwind
colors: {
  custom: {
    50: '#d288e7',
    500: '#ba50db',
    950: '#000000',
  },
}
SCSS
$custom: #ba50db;
$custom-light: #d288e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba50db",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 285.755,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62429,
    "c": 0.21691,
    "h": 317.3
  },
  "luminance": 0.21291
}

Semantic roles & 50–950 ramp

primary
#BA50DB
secondary
#B5DFA8
accent
#E93F67
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #BA50DB

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

Preview Lab → · Contrast checker → · Palette generator →

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