#BA59CE#BA59CE

#BA59CE is a light, vivid purple. Relative luminance 0.220; OKLCH L 62.8% C 0.192 H 320.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#BA59CE
RGBrgb(186, 89, 206)
HSLhsl(290, 54%, 58%)
HSVhsv(290, 57%, 81%)
CMYKcmyk(9.7%, 56.8%, 0%, 19.2%)
CIE-LABlab(54.07, 56.22, -43.88)
CIE-LCHlch(54.07, 71.31, 322.03°)
OKLaboklab(62.78% 0.148 -0.122)
OKLCHoklch(62.78% 0.192 320.5)
XYZxyz(34.9613, 22.0417, 60.7934)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA59CE #6DCE59
analogous
#8059CE #BA59CE #CE59A7
triadic
#BA59CE #CEBA59 #59CEBA
tetradic
#BA59CE #CE8059 #6DCE59 #59A7CE
square
#BA59CE #CE8059 #6DCE59 #59A7CE
split-complementary
#BA59CE #A7CE59 #59CE80
monochromatic
#752785 #9F35B5 #BA59CE #CE88DC #E1B8EA

Accessibility & contrast

On white

3.88
#BA59CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#BA59CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA59CE
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA59CE#FFFFFF#000000##000000
##BA59CE1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#417AD2
Deuteranopia (green-blind)
#6385CB
Tritanopia (blue-blind)
#BB6B8B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba59ce;
/* rgb */ color: rgb(186, 89, 206);
/* oklch */ color: oklch(62.8% 0.192 320.5);
Tailwind
colors: {
  custom: {
    50: '#d18ddd',
    500: '#ba59ce',
    950: '#000000',
  },
}
SCSS
$custom: #ba59ce;
$custom-light: #d18ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba59ce",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 206
  },
  "hsl": {
    "h": 289.744,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62784,
    "c": 0.1918,
    "h": 320.5
  },
  "luminance": 0.2204
}

Semantic roles & 50–950 ramp

primary
#BA59CE
secondary
#B2D9AA
accent
#DE4A63
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA59CE

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

Preview Lab → · Contrast checker → · Palette generator →

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