#BA5CD3#BA5CD3

#BA5CD3 is a light, vivid purple. Relative luminance 0.228; OKLCH L 63.4% C 0.192 H 318.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#BA5CD3
RGBrgb(186, 92, 211)
HSLhsl(287, 57%, 59%)
HSVhsv(287, 56%, 83%)
CMYKcmyk(11.8%, 56.4%, 0%, 17.3%)
CIE-LABlab(54.86, 55.76, -45.47)
CIE-LCHlch(54.86, 71.95, 320.80°)
OKLaboklab(63.45% 0.1445 -0.1266)
OKLCHoklch(63.45% 0.192 318.8)
XYZxyz(35.8332, 22.7980, 64.1283)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5CD3 #75D35C
analogous
#7F5CD3 #BA5CD3 #D35CB1
triadic
#BA5CD3 #D3BA5C #5CD3BA
tetradic
#BA5CD3 #D37F5C #75D35C #5CB1D3
square
#BA5CD3 #D37F5C #75D35C #5CB1D3
split-complementary
#BA5CD3 #B1D35C #5CD37F
monochromatic
#78268E #A133BE #BA5CD3 #CE8CE0 #E3BCED

Accessibility & contrast

On white

3.78
#BA5CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#BA5CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5CD3
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5CD3#FFFFFF#000000##000000
##BA5CD31.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#427DD7
Deuteranopia (green-blind)
#6387D0
Tritanopia (blue-blind)
#BA6E8F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ba5cd3;
/* rgb */ color: rgb(186, 92, 211);
/* oklch */ color: oklch(63.4% 0.192 318.8);
Tailwind
colors: {
  custom: {
    50: '#d18ee1',
    500: '#ba5cd3',
    950: '#000000',
  },
}
SCSS
$custom: #ba5cd3;
$custom-light: #d18ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5cd3",
  "rgb": {
    "r": 186,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 287.395,
    "s": 57.488,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63448,
    "c": 0.19213,
    "h": 318.8
  },
  "luminance": 0.22797
}

Semantic roles & 50–950 ramp

primary
#BA5CD3
secondary
#B8DDAE
accent
#E14767
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA5CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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