#BA55DB#BA55DB

#BA55DB is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.0% C 0.210 H 316.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#BA55DB
RGBrgb(186, 85, 219)
HSLhsl(285, 65%, 60%)
HSVhsv(285, 61%, 86%)
CMYKcmyk(15.1%, 61.2%, 0%, 14.1%)
CIE-LABlab(54.08, 60.63, -51.25)
CIE-LCHlch(54.08, 79.39, 319.79°)
OKLaboklab(63.02% 0.1535 -0.1434)
OKLCHoklch(63.02% 0.21 316.9)
XYZxyz(36.2825, 22.0519, 69.3493)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA55DB #76DB55
analogous
#7755DB #BA55DB #DB55B9
triadic
#BA55DB #DBBA55 #55DBBA
tetradic
#BA55DB #DB7755 #76DB55 #55B9DB
square
#BA55DB #DB7755 #76DB55 #55B9DB
split-complementary
#BA55DB #B9DB55 #55DB77
monochromatic
#792096 #A12AC8 #BA55DB #CE88E6 #E3BAF0

Accessibility & contrast

On white

3.88
#BA55DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#BA55DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA55DB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA55DB#FFFFFF#000000##000000
##BA55DB1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7BDF
Deuteranopia (green-blind)
#5884D8
Tritanopia (blue-blind)
#B96C90
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba55db;
/* rgb */ color: rgb(186, 85, 219);
/* oklch */ color: oklch(63.0% 0.210 316.9);
Tailwind
colors: {
  custom: {
    50: '#d28be7',
    500: '#ba55db',
    950: '#000000',
  },
}
SCSS
$custom: #ba55db;
$custom-light: #d28be7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba55db",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 219
  },
  "hsl": {
    "h": 285.224,
    "s": 65.049,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63018,
    "c": 0.21006,
    "h": 316.9
  },
  "luminance": 0.22051
}

Semantic roles & 50–950 ramp

primary
#BA55DB
secondary
#B9E0AC
accent
#E84069
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #BA55DB

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

Preview Lab → · Contrast checker → · Palette generator →

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