#BA60CB#BA60CB

#BA60CB is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.6% C 0.178 H 321.1°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#BA60CB
RGBrgb(186, 96, 203)
HSLhsl(290, 51%, 59%)
HSVhsv(290, 53%, 80%)
CMYKcmyk(8.4%, 52.7%, 0%, 20.4%)
CIE-LABlab(55.19, 52.23, -40.39)
CIE-LCHlch(55.19, 66.03, 322.28°)
OKLaboklab(63.56% 0.1385 -0.1119)
OKLCHoklch(63.56% 0.178 321.1)
XYZxyz(35.2108, 23.1182, 59.0959)
Luminance0.2312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA60CB #71CB60
analogous
#8460CB #BA60CB #CB60A6
triadic
#BA60CB #CBBA60 #60CBBA
tetradic
#BA60CB #CB8460 #71CB60 #60A6CB
square
#BA60CB #CB8460 #71CB60 #60A6CB
split-complementary
#BA60CB #A6CB60 #60CB84
monochromatic
#772C85 #A03BB3 #BA60CB #CE8EDA #E2BCE9

Accessibility & contrast

On white

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

On black

5.62
#BA60CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA60CB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA60CB#FFFFFF#000000##000000
##BA60CB1.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7ECF
Deuteranopia (green-blind)
#6A88C8
Tritanopia (blue-blind)
#BC6F8D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ba60cb;
/* rgb */ color: rgb(186, 96, 203);
/* oklch */ color: oklch(63.6% 0.178 321.1);
Tailwind
colors: {
  custom: {
    50: '#d191db',
    500: '#ba60cb',
    950: '#000000',
  },
}
SCSS
$custom: #ba60cb;
$custom-light: #d191db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba60cb",
  "rgb": {
    "r": 186,
    "g": 96,
    "b": 203
  },
  "hsl": {
    "h": 290.467,
    "s": 50.711,
    "l": 58.627
  },
  "oklch": {
    "l": 0.63559,
    "c": 0.17811,
    "h": 321.1
  },
  "luminance": 0.23117
}

Semantic roles & 50–950 ramp

primary
#BA60CB
secondary
#B5D9AE
accent
#DA4E64
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA60CB

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

Preview Lab → · Contrast checker → · Palette generator →

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