#BA5CC4#BA5CC4

#BA5CC4 is a light, vivid purple. Relative luminance 0.221; OKLCH L 62.7% C 0.178 H 323.7°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#BA5CC4
RGBrgb(186, 92, 196)
HSLhsl(294, 47%, 56%)
HSVhsv(294, 53%, 77%)
CMYKcmyk(5.1%, 53.1%, 0%, 23.1%)
CIE-LABlab(54.11, 52.87, -38.09)
CIE-LCHlch(54.11, 65.16, 324.23°)
OKLaboklab(62.65% 0.1431 -0.1052)
OKLCHoklch(62.65% 0.178 323.7)
XYZxyz(34.0397, 22.0806, 54.6828)
Luminance0.2208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5CC4 #66C45C
analogous
#865CC4 #BA5CC4 #C45C9A
triadic
#BA5CC4 #C4BA5C #5CC4BA
tetradic
#BA5CC4 #C4865C #66C45C #5C9AC4
square
#BA5CC4 #C4865C #66C45C #5C9AC4
split-complementary
#BA5CC4 #9AC45C #5CC486
monochromatic
#722C7A #9C3CA7 #BA5CC4 #CD89D4 #E0B6E5

Accessibility & contrast

On white

3.88
#BA5CC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#BA5CC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5CC4
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5CC4#FFFFFF#000000##000000
##BA5CC41.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7AC7
Deuteranopia (green-blind)
#6B85C1
Tritanopia (blue-blind)
#BD6987
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba5cc4;
/* rgb */ color: rgb(186, 92, 196);
/* oklch */ color: oklch(62.7% 0.178 323.7);
Tailwind
colors: {
  custom: {
    50: '#d18ed6',
    500: '#ba5cc4',
    950: '#000000',
  },
}
SCSS
$custom: #ba5cc4;
$custom-light: #d18ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5cc4",
  "rgb": {
    "r": 186,
    "g": 92,
    "b": 196
  },
  "hsl": {
    "h": 294.231,
    "s": 46.847,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62652,
    "c": 0.17766,
    "h": 323.7
  },
  "luminance": 0.22079
}

Semantic roles & 50–950 ramp

primary
#BA5CC4
secondary
#ADD3A9
accent
#D6515E
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140D14
muted
#837D83

Preview Lab

Preview with #BA5CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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