#BA5BC9#BA5BC9

#BA5BC9 is a light, vivid purple. Relative luminance 0.221; OKLCH L 62.8% C 0.184 H 322.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#BA5BC9
RGBrgb(186, 91, 201)
HSLhsl(292, 50%, 57%)
HSVhsv(292, 55%, 79%)
CMYKcmyk(7.5%, 54.7%, 0%, 21.2%)
CIE-LABlab(54.18, 54.30, -40.86)
CIE-LCHlch(54.18, 67.95, 323.04°)
OKLaboklab(62.78% 0.145 -0.1132)
OKLCHoklch(62.78% 0.184 322)
XYZxyz(34.5323, 22.1399, 57.7015)
Luminance0.2214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5BC9 #6AC95B
analogous
#835BC9 #BA5BC9 #C95BA1
triadic
#BA5BC9 #C9BA5B #5BC9BA
tetradic
#BA5BC9 #C9835B #6AC95B #5BA1C9
square
#BA5BC9 #C9835B #6AC95B #5BA1C9
split-complementary
#BA5BC9 #A1C95B #5BC983
monochromatic
#742A80 #9E39AE #BA5BC9 #CD89D8 #E1B7E7

Accessibility & contrast

On white

3.87
#BA5BC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#BA5BC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5BC9
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5BC9#FFFFFF#000000##000000
##BA5BC91.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#487BCD
Deuteranopia (green-blind)
#6885C6
Tritanopia (blue-blind)
#BC6A8A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba5bc9;
/* rgb */ color: rgb(186, 91, 201);
/* oklch */ color: oklch(62.8% 0.184 322.0);
Tailwind
colors: {
  custom: {
    50: '#d18eda',
    500: '#ba5bc9',
    950: '#000000',
  },
}
SCSS
$custom: #ba5bc9;
$custom-light: #d18eda;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5bc9",
  "rgb": {
    "r": 186,
    "g": 91,
    "b": 201
  },
  "hsl": {
    "h": 291.818,
    "s": 50.459,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62778,
    "c": 0.18398,
    "h": 322
  },
  "luminance": 0.22138
}

Semantic roles & 50–950 ramp

primary
#BA5BC9
secondary
#B0D6AA
accent
#DA4E61
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140D15
muted
#837D83

Preview Lab

Preview with #BA5BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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