#BA5BC8#BA5BC8

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

Color values

HEX#BA5BC8
RGBrgb(186, 91, 200)
HSLhsl(292, 50%, 57%)
HSVhsv(292, 55%, 78%)
CMYKcmyk(7%, 54.5%, 0%, 21.6%)
CIE-LABlab(54.13, 54.11, -40.36)
CIE-LCHlch(54.13, 67.50, 323.28°)
OKLaboklab(62.73% 0.1449 -0.1118)
OKLCHoklch(62.73% 0.183 322.3)
XYZxyz(34.4150, 22.0930, 57.0840)
Luminance0.2209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5BC8 #69C85B
analogous
#845BC8 #BA5BC8 #C85B9F
triadic
#BA5BC8 #C8BA5B #5BC8BA
tetradic
#BA5BC8 #C8845B #69C85B #5B9FC8
square
#BA5BC8 #C8845B #69C85B #5B9FC8
split-complementary
#BA5BC8 #9FC85B #5BC884
monochromatic
#732A7E #9D3AAC #BA5BC8 #CD89D7 #E1B7E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA5BC8#FFFFFF#000000##000000
##BA5BC81.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)
#497ACC
Deuteranopia (green-blind)
#6885C5
Tritanopia (blue-blind)
#BC6A89
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba5bc8;
/* rgb */ color: rgb(186, 91, 200);
/* oklch */ color: oklch(62.7% 0.183 322.3);
Tailwind
colors: {
  custom: {
    50: '#d18ed9',
    500: '#ba5bc8',
    950: '#000000',
  },
}
SCSS
$custom: #ba5bc8;
$custom-light: #d18ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5bc8",
  "rgb": {
    "r": 186,
    "g": 91,
    "b": 200
  },
  "hsl": {
    "h": 292.294,
    "s": 49.772,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62726,
    "c": 0.18302,
    "h": 322.3
  },
  "luminance": 0.22091
}

Semantic roles & 50–950 ramp

primary
#BA5BC8
secondary
#AFD6A9
accent
#D94F60
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140D14
muted
#837D83

Preview Lab

Preview with #BA5BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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