#BA5DC8#BA5DC8

#BA5DC8 is a light, vivid purple. Relative luminance 0.224; OKLCH L 63.0% C 0.180 H 322.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#BA5DC8
RGBrgb(186, 93, 200)
HSLhsl(292, 49%, 57%)
HSVhsv(292, 54%, 78%)
CMYKcmyk(7%, 53.5%, 0%, 21.6%)
CIE-LABlab(54.49, 53.13, -39.79)
CIE-LCHlch(54.49, 66.38, 323.17°)
OKLaboklab(62.99% 0.1422 -0.1101)
OKLCHoklch(62.99% 0.18 322.2)
XYZxyz(34.5883, 22.4395, 57.1417)
Luminance0.2244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5DC8 #6BC85D
analogous
#855DC8 #BA5DC8 #C85DA0
triadic
#BA5DC8 #C8BA5D #5DC8BA
tetradic
#BA5DC8 #C8855D #6BC85D #5DA0C8
square
#BA5DC8 #C8855D #6BC85D #5DA0C8
split-complementary
#BA5DC8 #A0C85D #5DC885
monochromatic
#742B7F #9E3BAD #BA5DC8 #CD8BD8 #E1B8E7

Accessibility & contrast

On white

3.83
#BA5DC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#BA5DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5DC8
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5DC8#FFFFFF#000000##000000
##BA5DC81.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7BCB
Deuteranopia (green-blind)
#6A86C5
Tritanopia (blue-blind)
#BC6C8A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba5dc8;
/* rgb */ color: rgb(186, 93, 200);
/* oklch */ color: oklch(63.0% 0.180 322.2);
Tailwind
colors: {
  custom: {
    50: '#d18fd9',
    500: '#ba5dc8',
    950: '#000000',
  },
}
SCSS
$custom: #ba5dc8;
$custom-light: #d18fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5dc8",
  "rgb": {
    "r": 186,
    "g": 93,
    "b": 200
  },
  "hsl": {
    "h": 292.15,
    "s": 49.309,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62994,
    "c": 0.17991,
    "h": 322.2
  },
  "luminance": 0.22438
}

Semantic roles & 50–950 ramp

primary
#BA5DC8
secondary
#B0D6AB
accent
#D94F61
background
#FDF9FD
surface
#FAF1FA
border
#D3CBD3
text
#140D14
muted
#837E83

Preview Lab

Preview with #BA5DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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