#BA59AE#BA59AE

#BA59AE is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.2% C 0.163 H 332.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BA59AE
RGBrgb(186, 89, 174)
HSLhsl(307, 41%, 54%)
HSVhsv(307, 52%, 73%)
CMYKcmyk(0%, 52.2%, 6.5%, 27.1%)
CIE-LABlab(52.56, 50.38, -27.81)
CIE-LCHlch(52.56, 57.54, 331.10°)
OKLaboklab(61.18% 0.144 -0.0757)
OKLCHoklch(61.18% 0.163 332.3)
XYZxyz(31.4619, 20.6419, 42.3633)
Luminance0.2064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA59AE #59BA65
analogous
#9659BA #BA59AE #BA597E
triadic
#BA59AE #AEBA59 #59AEBA
tetradic
#BA59AE #BA9659 #59BA65 #597EBA
square
#BA59AE #BA9659 #59BA65 #597EBA
split-complementary
#BA59AE #7EBA59 #59BA96
monochromatic
#6C2D64 #973F8C #BA59AE #CC84C3 #DEAFD8

Accessibility & contrast

On white

4.10
#BA59AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#BA59AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA59AE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA59AE#FFFFFF#000000##000000
##BA59AE1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5675B1
Deuteranopia (green-blind)
#7282AB
Tritanopia (blue-blind)
#C1607C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba59ae;
/* rgb */ color: rgb(186, 89, 174);
/* oklch */ color: oklch(61.2% 0.163 332.3);
Tailwind
colors: {
  custom: {
    50: '#d18cc6',
    500: '#ba59ae',
    950: '#000000',
  },
}
SCSS
$custom: #ba59ae;
$custom-light: #d18cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba59ae",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 174
  },
  "hsl": {
    "h": 307.423,
    "s": 41.277,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61175,
    "c": 0.16267,
    "h": 332.3
  },
  "luminance": 0.2064
}

Semantic roles & 50–950 ramp

primary
#BA59AE
secondary
#A3CCA8
accent
#D16657
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BA59AE

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

Preview Lab → · Contrast checker → · Palette generator →

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