#BA5AC8#BA5AC8

#BA5AC8 is a light, vivid purple. Relative luminance 0.219; OKLCH L 62.6% C 0.185 H 322.4°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#BA5AC8
RGBrgb(186, 90, 200)
HSLhsl(292, 50%, 57%)
HSVhsv(292, 55%, 78%)
CMYKcmyk(7%, 55%, 0%, 21.6%)
CIE-LABlab(53.95, 54.59, -40.65)
CIE-LCHlch(53.95, 68.06, 323.33°)
OKLaboklab(62.59% 0.1462 -0.1126)
OKLCHoklch(62.59% 0.185 322.4)
XYZxyz(34.3301, 21.9232, 57.0557)
Luminance0.2192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5AC8 #68C85A
analogous
#835AC8 #BA5AC8 #C85A9F
triadic
#BA5AC8 #C8BA5A #5AC8BA
tetradic
#BA5AC8 #C8835A #68C85A #5A9FC8
square
#BA5AC8 #C8835A #68C85A #5A9FC8
split-complementary
#BA5AC8 #9FC85A #5AC883
monochromatic
#732A7E #9D39AC #BA5AC8 #CD88D7 #E0B6E7

Accessibility & contrast

On white

3.90
#BA5AC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#BA5AC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5AC8
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5AC8#FFFFFF#000000##000000
##BA5AC81.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#487ACC
Deuteranopia (green-blind)
#6785C5
Tritanopia (blue-blind)
#BC6989
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba5ac8;
/* rgb */ color: rgb(186, 90, 200);
/* oklch */ color: oklch(62.6% 0.185 322.4);
Tailwind
colors: {
  custom: {
    50: '#d18dd9',
    500: '#ba5ac8',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ac8;
$custom-light: #d18dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ac8",
  "rgb": {
    "r": 186,
    "g": 90,
    "b": 200
  },
  "hsl": {
    "h": 292.364,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62594,
    "c": 0.18457,
    "h": 322.4
  },
  "luminance": 0.21922
}

Semantic roles & 50–950 ramp

primary
#BA5AC8
secondary
#AED5A8
accent
#DA4E60
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BA5AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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