#BA60DC#BA60DC

#BA60DC is a light, vivid purple. Relative luminance 0.240; OKLCH L 64.5% C 0.195 H 315.8°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#BA60DC
RGBrgb(186, 96, 220)
HSLhsl(284, 64%, 62%)
HSVhsv(284, 56%, 86%)
CMYKcmyk(15.5%, 56.4%, 0%, 13.7%)
CIE-LABlab(56.06, 55.62, -48.66)
CIE-LCHlch(56.06, 73.90, 318.82°)
OKLaboklab(64.48% 0.1399 -0.1359)
OKLCHoklch(64.48% 0.195 315.8)
XYZxyz(37.3489, 23.9734, 70.3562)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA60DC #82DC60
analogous
#7C60DC #BA60DC #DC60C0
triadic
#BA60DC #DCBA60 #60DCBA
tetradic
#BA60DC #DC7C60 #82DC60 #60C0DC
square
#BA60DC #DC7C60 #82DC60 #60C0DC
split-complementary
#BA60DC #C0DC60 #60DC7C
monochromatic
#7D239F #A42ED1 #BA60DC #D092E7 #E6C4F2

Accessibility & contrast

On white

3.62
#BA60DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#BA60DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA60DC
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA60DC#FFFFFF#000000##000000
##BA60DC1.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4081E0
Deuteranopia (green-blind)
#6089D9
Tritanopia (blue-blind)
#B87495
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba60dc;
/* rgb */ color: rgb(186, 96, 220);
/* oklch */ color: oklch(64.5% 0.195 315.8);
Tailwind
colors: {
  custom: {
    50: '#d191e7',
    500: '#ba60dc',
    950: '#000000',
  },
}
SCSS
$custom: #ba60dc;
$custom-light: #d191e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba60dc",
  "rgb": {
    "r": 186,
    "g": 96,
    "b": 220
  },
  "hsl": {
    "h": 283.548,
    "s": 63.918,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64478,
    "c": 0.19508,
    "h": 315.8
  },
  "luminance": 0.23972
}

Semantic roles & 50–950 ramp

primary
#BA60DC
secondary
#C2E3B5
accent
#CC1A4B
background
#FDF9FE
surface
#FAF1FC
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA60DC

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

Preview Lab → · Contrast checker → · Palette generator →

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