#BA59CC#BA59CC

#BA59CC is a light, vivid purple. Relative luminance 0.219; OKLCH L 62.7% C 0.190 H 321.1°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#BA59CC
RGBrgb(186, 89, 204)
HSLhsl(291, 53%, 57%)
HSVhsv(291, 56%, 80%)
CMYKcmyk(8.8%, 56.4%, 0%, 20%)
CIE-LABlab(53.97, 55.83, -42.90)
CIE-LCHlch(53.97, 70.41, 322.47°)
OKLaboklab(62.68% 0.1479 -0.1191)
OKLCHoklch(62.68% 0.19 321.1)
XYZxyz(34.7199, 21.9451, 59.5220)
Luminance0.2194 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA59CC #6BCC59
analogous
#8159CC #BA59CC #CC59A4
triadic
#BA59CC #CCBA59 #59CCBA
tetradic
#BA59CC #CC8159 #6BCC59 #59A4CC
square
#BA59CC #CC8159 #6BCC59 #59A4CC
split-complementary
#BA59CC #A4CC59 #59CC81
monochromatic
#742883 #9E36B1 #BA59CC #CD88DA #E1B7E9

Accessibility & contrast

On white

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

On black

5.39
#BA59CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA59CC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA59CC#FFFFFF#000000##000000
##BA59CC1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#437AD0
Deuteranopia (green-blind)
#6485C9
Tritanopia (blue-blind)
#BC6A8A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba59cc;
/* rgb */ color: rgb(186, 89, 204);
/* oklch */ color: oklch(62.7% 0.190 321.1);
Tailwind
colors: {
  custom: {
    50: '#d18ddc',
    500: '#ba59cc',
    950: '#000000',
  },
}
SCSS
$custom: #ba59cc;
$custom-light: #d18ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba59cc",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 290.609,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62676,
    "c": 0.1899,
    "h": 321.1
  },
  "luminance": 0.21943
}

Semantic roles & 50–950 ramp

primary
#BA59CC
secondary
#B0D8A9
accent
#DC4B62
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA59CC

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

Preview Lab → · Contrast checker → · Palette generator →

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