#BA58AE#BA58AE

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

Color values

HEX#BA58AE
RGBrgb(186, 88, 174)
HSLhsl(307, 42%, 54%)
HSVhsv(307, 53%, 73%)
CMYKcmyk(0%, 52.7%, 6.5%, 27.1%)
CIE-LABlab(52.37, 50.87, -28.09)
CIE-LCHlch(52.37, 58.11, 331.09°)
OKLaboklab(61.04% 0.1454 -0.0765)
OKLCHoklch(61.04% 0.164 332.2)
XYZxyz(31.3793, 20.4766, 42.3358)
Luminance0.2047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA58AE #58BA64
analogous
#9558BA #BA58AE #BA587D
triadic
#BA58AE #AEBA58 #58AEBA
tetradic
#BA58AE #BA9558 #58BA64 #587DBA
square
#BA58AE #BA9558 #58BA64 #587DBA
split-complementary
#BA58AE #7DBA58 #58BA95
monochromatic
#6B2C64 #973E8C #BA58AE #CC83C3 #DEAFD8

Accessibility & contrast

On white

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

On black

5.09
#BA58AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA58AE
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA58AE#FFFFFF#000000##000000
##BA58AE1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba58ae;
/* rgb */ color: rgb(186, 88, 174);
/* oklch */ color: oklch(61.0% 0.164 332.2);
Tailwind
colors: {
  custom: {
    50: '#d18bc6',
    500: '#ba58ae',
    950: '#000000',
  },
}
SCSS
$custom: #ba58ae;
$custom-light: #d18bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba58ae",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 174
  },
  "hsl": {
    "h": 307.347,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.6104,
    "c": 0.16429,
    "h": 332.2
  },
  "luminance": 0.20475
}

Semantic roles & 50–950 ramp

primary
#BA58AE
secondary
#A2CCA7
accent
#D16656
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BA58AE

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

Preview Lab → · Contrast checker → · Palette generator →

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