#BA60CC#BA60CC

#BA60CC is a light, vivid purple. Relative luminance 0.232; OKLCH L 63.6% C 0.179 H 320.7°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#BA60CC
RGBrgb(186, 96, 204)
HSLhsl(290, 51%, 59%)
HSVhsv(290, 53%, 80%)
CMYKcmyk(8.8%, 52.9%, 0%, 20%)
CIE-LABlab(55.24, 52.42, -40.89)
CIE-LCHlch(55.24, 66.48, 322.05°)
OKLaboklab(63.61% 0.1387 -0.1133)
OKLCHoklch(63.61% 0.179 320.7)
XYZxyz(35.3304, 23.1660, 59.7255)
Luminance0.2316 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA60CC #72CC60
analogous
#8460CC #BA60CC #CC60A8
triadic
#BA60CC #CCBA60 #60CCBA
tetradic
#BA60CC #CC8460 #72CC60 #60A8CC
square
#BA60CC #CC8460 #72CC60 #60A8CC
split-complementary
#BA60CC #A8CC60 #60CC84
monochromatic
#772B86 #A03AB5 #BA60CC #CE8EDB #E2BDEA

Accessibility & contrast

On white

3.73
#BA60CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#BA60CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA60CC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA60CC#FFFFFF#000000##000000
##BA60CC1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7ED0
Deuteranopia (green-blind)
#6A88C9
Tritanopia (blue-blind)
#BB6F8D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ba60cc;
/* rgb */ color: rgb(186, 96, 204);
/* oklch */ color: oklch(63.6% 0.179 320.7);
Tailwind
colors: {
  custom: {
    50: '#d191dc',
    500: '#ba60cc',
    950: '#000000',
  },
}
SCSS
$custom: #ba60cc;
$custom-light: #d191dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba60cc",
  "rgb": {
    "r": 186,
    "g": 96,
    "b": 204
  },
  "hsl": {
    "h": 290,
    "s": 51.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63611,
    "c": 0.17909,
    "h": 320.7
  },
  "luminance": 0.23164
}

Semantic roles & 50–950 ramp

primary
#BA60CC
secondary
#B6D9AF
accent
#DB4D65
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA60CC

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

Preview Lab → · Contrast checker → · Palette generator →

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