#BA5CD6#BA5CD6

#BA5CD6 is a light, vivid purple. Relative luminance 0.229; OKLCH L 63.6% C 0.195 H 317.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#BA5CD6
RGBrgb(186, 92, 214)
HSLhsl(286, 60%, 60%)
HSVhsv(286, 57%, 84%)
CMYKcmyk(13.1%, 57%, 0%, 16.1%)
CIE-LABlab(55.02, 56.35, -46.92)
CIE-LCHlch(55.02, 73.33, 320.22°)
OKLaboklab(63.61% 0.1447 -0.1308)
OKLCHoklch(63.61% 0.195 317.9)
XYZxyz(36.2128, 22.9498, 66.1275)
Luminance0.2295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5CD6 #78D65C
analogous
#7D5CD6 #BA5CD6 #D65CB5
triadic
#BA5CD6 #D6BA5C #5CD6BA
tetradic
#BA5CD6 #D67D5C #78D65C #5CB5D6
square
#BA5CD6 #D67D5C #78D65C #5CB5D6
split-complementary
#BA5CD6 #B5D65C #5CD67D
monochromatic
#7A2593 #A231C4 #BA5CD6 #CF8DE2 #E3BEEF

Accessibility & contrast

On white

3.76
#BA5CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#BA5CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5CD6
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5CD6#FFFFFF#000000##000000
##BA5CD61.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7EDA
Deuteranopia (green-blind)
#6187D3
Tritanopia (blue-blind)
#B96F90
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ba5cd6;
/* rgb */ color: rgb(186, 92, 214);
/* oklch */ color: oklch(63.6% 0.195 317.9);
Tailwind
colors: {
  custom: {
    50: '#d18fe3',
    500: '#ba5cd6',
    950: '#000000',
  },
}
SCSS
$custom: #ba5cd6;
$custom-light: #d18fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5cd6",
  "rgb": {
    "r": 186,
    "g": 92,
    "b": 214
  },
  "hsl": {
    "h": 286.23,
    "s": 59.804,
    "l": 60
  },
  "oklch": {
    "l": 0.63614,
    "c": 0.19508,
    "h": 317.9
  },
  "luminance": 0.22948
}

Semantic roles & 50–950 ramp

primary
#BA5CD6
secondary
#BADEAF
accent
#E34569
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA5CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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