#BA59BE#BA59BE

#BA59BE is a mid, vivid purple. Relative luminance 0.213; OKLCH L 61.9% C 0.177 H 325.9°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#BA59BE
RGBrgb(186, 89, 190)
HSLhsl(298, 44%, 55%)
HSVhsv(298, 53%, 75%)
CMYKcmyk(2.1%, 53.2%, 0%, 25.5%)
CIE-LABlab(53.28, 53.21, -35.95)
CIE-LCHlch(53.28, 64.22, 325.96°)
OKLaboklab(61.95% 0.1465 -0.099)
OKLCHoklch(61.95% 0.177 325.9)
XYZxyz(33.1157, 21.3034, 51.0729)
Luminance0.2130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA59BE #5DBE59
analogous
#8859BE #BA59BE #BE598F
triadic
#BA59BE #BEBA59 #59BEBA
tetradic
#BA59BE #BE8859 #5DBE59 #598FBE
square
#BA59BE #BE8859 #5DBE59 #598FBE
split-complementary
#BA59BE #8FBE59 #59BE88
monochromatic
#6E2C71 #993D9D #BA59BE #CC85CF #DFB1E0

Accessibility & contrast

On white

3.99
#BA59BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#BA59BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA59BE
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA59BE#FFFFFF#000000##000000
##BA59BE1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D77C1
Deuteranopia (green-blind)
#6C84BB
Tritanopia (blue-blind)
#BE6583
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba59be;
/* rgb */ color: rgb(186, 89, 190);
/* oklch */ color: oklch(61.9% 0.177 325.9);
Tailwind
colors: {
  custom: {
    50: '#d18cd2',
    500: '#ba59be',
    950: '#000000',
  },
}
SCSS
$custom: #ba59be;
$custom-light: #d18cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba59be",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 190
  },
  "hsl": {
    "h": 297.624,
    "s": 43.723,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61947,
    "c": 0.1768,
    "h": 325.9
  },
  "luminance": 0.21302
}

Semantic roles & 50–950 ramp

primary
#BA59BE
secondary
#A6CFA4
accent
#D35459
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BA59BE

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

Preview Lab → · Contrast checker → · Palette generator →

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