#BA59C8#BA59C8

#BA59C8 is a light, vivid purple. Relative luminance 0.218; OKLCH L 62.5% C 0.186 H 322.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#BA59C8
RGBrgb(186, 89, 200)
HSLhsl(292, 50%, 57%)
HSVhsv(292, 56%, 78%)
CMYKcmyk(7%, 55.5%, 0%, 21.6%)
CIE-LABlab(53.77, 55.07, -40.93)
CIE-LCHlch(53.77, 68.62, 323.38°)
OKLaboklab(62.46% 0.1475 -0.1134)
OKLCHoklch(62.46% 0.186 322.4)
XYZxyz(34.2463, 21.7556, 57.0278)
Luminance0.2175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA59C8 #67C859
analogous
#8359C8 #BA59C8 #C8599F
triadic
#BA59C8 #C8BA59 #59C8BA
tetradic
#BA59C8 #C88359 #67C859 #599FC8
square
#BA59C8 #C88359 #67C859 #599FC8
split-complementary
#BA59C8 #9FC859 #59C883
monochromatic
#73297D #9D39AB #BA59C8 #CD87D7 #E0B5E6

Accessibility & contrast

On white

3.92
#BA59C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#BA59C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA59C8
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA59C8#FFFFFF#000000##000000
##BA59C81.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4679CC
Deuteranopia (green-blind)
#6784C5
Tritanopia (blue-blind)
#BC6888
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ba59c8;
/* rgb */ color: rgb(186, 89, 200);
/* oklch */ color: oklch(62.5% 0.186 322.4);
Tailwind
colors: {
  custom: {
    50: '#d18cd9',
    500: '#ba59c8',
    950: '#000000',
  },
}
SCSS
$custom: #ba59c8;
$custom-light: #d18cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba59c8",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 200
  },
  "hsl": {
    "h": 292.432,
    "s": 50.226,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62463,
    "c": 0.1861,
    "h": 322.4
  },
  "luminance": 0.21754
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA59C8

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

Preview Lab → · Contrast checker → · Palette generator →

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