#BA59AA#BA59AA

#BA59AA is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.0% C 0.159 H 334.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#BA59AA
RGBrgb(186, 89, 170)
HSLhsl(310, 41%, 54%)
HSVhsv(310, 52%, 73%)
CMYKcmyk(0%, 52.2%, 8.6%, 27.1%)
CIE-LABlab(52.38, 49.70, -25.74)
CIE-LCHlch(52.38, 55.97, 332.62°)
OKLaboklab(60.99% 0.1432 -0.0699)
OKLCHoklch(60.99% 0.159 334)
XYZxyz(31.0778, 20.4882, 40.3402)
Luminance0.2049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA59AA #59BA69
analogous
#9A59BA #BA59AA #BA597A
triadic
#BA59AA #AABA59 #59AABA
tetradic
#BA59AA #BA9A59 #59BA69 #597ABA
square
#BA59AA #BA9A59 #59BA69 #597ABA
split-complementary
#BA59AA #7ABA59 #59BA9A
monochromatic
#6C2D61 #973F88 #BA59AA #CC84C0 #DEAFD6

Accessibility & contrast

On white

4.12
#BA59AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#BA59AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA59AA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA59AA#FFFFFF#000000##000000
##BA59AA1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5874AD
Deuteranopia (green-blind)
#7482A7
Tritanopia (blue-blind)
#C25F7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba59aa;
/* rgb */ color: rgb(186, 89, 170);
/* oklch */ color: oklch(61.0% 0.159 334.0);
Tailwind
colors: {
  custom: {
    50: '#d18cc3',
    500: '#ba59aa',
    950: '#000000',
  },
}
SCSS
$custom: #ba59aa;
$custom-light: #d18cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba59aa",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 170
  },
  "hsl": {
    "h": 309.897,
    "s": 41.277,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60993,
    "c": 0.15933,
    "h": 334
  },
  "luminance": 0.20486
}

Semantic roles & 50–950 ramp

primary
#BA59AA
secondary
#A3CCAA
accent
#D16B57
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C12
muted
#837D81

Preview Lab

Preview with #BA59AA

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

Preview Lab → · Contrast checker → · Palette generator →

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