#BA59CA#BA59CA

#BA59CA is a light, vivid purple. Relative luminance 0.218; OKLCH L 62.6% C 0.188 H 321.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#BA59CA
RGBrgb(186, 89, 202)
HSLhsl(292, 52%, 57%)
HSVhsv(292, 56%, 79%)
CMYKcmyk(7.9%, 55.9%, 0%, 20.8%)
CIE-LABlab(53.87, 55.45, -41.91)
CIE-LCHlch(53.87, 69.51, 322.92°)
OKLaboklab(62.57% 0.1477 -0.1163)
OKLCHoklch(62.57% 0.188 321.8)
XYZxyz(34.4816, 21.8498, 58.2668)
Luminance0.2185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA59CA #69CA59
analogous
#8159CA #BA59CA #CA59A2
triadic
#BA59CA #CABA59 #59CABA
tetradic
#BA59CA #CA8159 #69CA59 #59A2CA
square
#BA59CA #CA8159 #69CA59 #59A2CA
split-complementary
#BA59CA #A2CA59 #59CA81
monochromatic
#732980 #9D38AE #BA59CA #CD87D9 #E1B6E8

Accessibility & contrast

On white

3.91
#BA59CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#BA59CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA59CA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA59CA#FFFFFF#000000##000000
##BA59CA1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#457ACE
Deuteranopia (green-blind)
#6685C7
Tritanopia (blue-blind)
#BC6989
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba59ca;
/* rgb */ color: rgb(186, 89, 202);
/* oklch */ color: oklch(62.6% 0.188 321.8);
Tailwind
colors: {
  custom: {
    50: '#d18cda',
    500: '#ba59ca',
    950: '#000000',
  },
}
SCSS
$custom: #ba59ca;
$custom-light: #d18cda;
$custom-dark: #000000;
JSON
{
  "hex": "#ba59ca",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 291.504,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62569,
    "c": 0.18799,
    "h": 321.8
  },
  "luminance": 0.21848
}

Semantic roles & 50–950 ramp

primary
#BA59CA
secondary
#AFD6A8
accent
#DB4D61
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA59CA

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

Preview Lab → · Contrast checker → · Palette generator →

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