#BA60DB#BA60DB

#BA60DB is a light, vivid purple. Relative luminance 0.239; OKLCH L 64.4% C 0.194 H 316.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#BA60DB
RGBrgb(186, 96, 219)
HSLhsl(284, 63%, 62%)
HSVhsv(284, 56%, 86%)
CMYKcmyk(15.1%, 56.2%, 0%, 14.1%)
CIE-LABlab(56.01, 55.41, -48.18)
CIE-LCHlch(56.01, 73.43, 318.99°)
OKLaboklab(64.42% 0.1399 -0.1345)
OKLCHoklch(64.42% 0.194 316.1)
XYZxyz(37.2168, 23.9206, 69.6608)
Luminance0.2392 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA60DB #81DB60
analogous
#7D60DB #BA60DB #DB60BF
triadic
#BA60DB #DBBA60 #60DBBA
tetradic
#BA60DB #DB7D60 #81DB60 #60BFDB
square
#BA60DB #DB7D60 #81DB60 #60BFDB
split-complementary
#BA60DB #BFDB60 #60DB7D
monochromatic
#7C249D #A42FCF #BA60DB #D092E6 #E5C4F2

Accessibility & contrast

On white

3.63
#BA60DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#BA60DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA60DB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA60DB#FFFFFF#000000##000000
##BA60DB1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4181DF
Deuteranopia (green-blind)
#6189D8
Tritanopia (blue-blind)
#B87495
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba60db;
/* rgb */ color: rgb(186, 96, 219);
/* oklch */ color: oklch(64.4% 0.194 316.1);
Tailwind
colors: {
  custom: {
    50: '#d191e7',
    500: '#ba60db',
    950: '#000000',
  },
}
SCSS
$custom: #ba60db;
$custom-light: #d191e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba60db",
  "rgb": {
    "r": 186,
    "g": 96,
    "b": 219
  },
  "hsl": {
    "h": 283.902,
    "s": 63.077,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64422,
    "c": 0.19407,
    "h": 316.1
  },
  "luminance": 0.23919
}

Semantic roles & 50–950 ramp

primary
#BA60DB
secondary
#C1E2B5
accent
#CB1B4A
background
#FDF9FE
surface
#FAF1FC
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA60DB

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

Preview Lab → · Contrast checker → · Palette generator →

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