#BA59D5#BA59D5

#BA59D5 is a light, vivid purple. Relative luminance 0.224; OKLCH L 63.2% C 0.199 H 318.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#BA59D5
RGBrgb(186, 89, 213)
HSLhsl(287, 60%, 59%)
HSVhsv(287, 58%, 84%)
CMYKcmyk(12.7%, 58.2%, 0%, 16.5%)
CIE-LABlab(54.44, 57.58, -47.28)
CIE-LCHlch(54.44, 74.51, 320.61°)
OKLaboklab(63.17% 0.1484 -0.1319)
OKLCHoklch(63.17% 0.199 318.4)
XYZxyz(35.8307, 22.3894, 65.3721)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA59D5 #74D559
analogous
#7C59D5 #BA59D5 #D559B2
triadic
#BA59D5 #D5BA59 #59D5BA
tetradic
#BA59D5 #D57C59 #74D559 #59B2D5
square
#BA59D5 #D57C59 #74D559 #59B2D5
split-complementary
#BA59D5 #B2D559 #59D57C
monochromatic
#78248F #A131C0 #BA59D5 #CE8AE1 #E3BBEE

Accessibility & contrast

On white

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

On black

5.48
#BA59D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA59D5
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA59D5#FFFFFF#000000##000000
##BA59D51.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7CD9
Deuteranopia (green-blind)
#5F85D2
Tritanopia (blue-blind)
#BA6D8F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba59d5;
/* rgb */ color: rgb(186, 89, 213);
/* oklch */ color: oklch(63.2% 0.199 318.4);
Tailwind
colors: {
  custom: {
    50: '#d28de2',
    500: '#ba59d5',
    950: '#000000',
  },
}
SCSS
$custom: #ba59d5;
$custom-light: #d28de2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba59d5",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 213
  },
  "hsl": {
    "h": 286.935,
    "s": 59.615,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63171,
    "c": 0.19855,
    "h": 318.4
  },
  "luminance": 0.22388
}

Semantic roles & 50–950 ramp

primary
#BA59D5
secondary
#B7DDAD
accent
#E34567
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA59D5

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

Preview Lab → · Contrast checker → · Palette generator →

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