#BA59AF#BA59AF

#BA59AF is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.2% C 0.164 H 331.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BA59AF
RGBrgb(186, 89, 175)
HSLhsl(307, 41%, 54%)
HSVhsv(307, 52%, 73%)
CMYKcmyk(0%, 52.2%, 5.9%, 27.1%)
CIE-LABlab(52.60, 50.55, -28.32)
CIE-LCHlch(52.60, 57.94, 330.74°)
OKLaboklab(61.22% 0.1442 -0.0772)
OKLCHoklch(61.22% 0.164 331.8)
XYZxyz(31.5598, 20.6810, 42.8787)
Luminance0.2068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA59AF #59BA64
analogous
#9559BA #BA59AF #BA597F
triadic
#BA59AF #AFBA59 #59AFBA
tetradic
#BA59AF #BA9559 #59BA64 #597FBA
square
#BA59AF #BA9559 #59BA64 #597FBA
split-complementary
#BA59AF #7FBA59 #59BA95
monochromatic
#6C2D65 #973F8D #BA59AF #CC84C4 #DEAFD9

Accessibility & contrast

On white

4.09
#BA59AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#BA59AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA59AF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA59AF#FFFFFF#000000##000000
##BA59AF1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba59af;
/* rgb */ color: rgb(186, 89, 175);
/* oklch */ color: oklch(61.2% 0.164 331.8);
Tailwind
colors: {
  custom: {
    50: '#d18cc7',
    500: '#ba59af',
    950: '#000000',
  },
}
SCSS
$custom: #ba59af;
$custom-light: #d18cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba59af",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 175
  },
  "hsl": {
    "h": 306.804,
    "s": 41.277,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61222,
    "c": 0.16352,
    "h": 331.8
  },
  "luminance": 0.20679
}

Semantic roles & 50–950 ramp

primary
#BA59AF
secondary
#A3CCA7
accent
#D16557
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BA59AF

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

Preview Lab → · Contrast checker → · Palette generator →

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