#BA55AF#BA55AF

#BA55AF is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.7% C 0.170 H 331.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#BA55AF
RGBrgb(186, 85, 175)
HSLhsl(307, 42%, 53%)
HSVhsv(307, 54%, 73%)
CMYKcmyk(0%, 54.3%, 5.9%, 27.1%)
CIE-LABlab(51.87, 52.48, -29.45)
CIE-LCHlch(51.87, 60.18, 330.70°)
OKLaboklab(60.69% 0.1497 -0.0804)
OKLCHoklch(60.69% 0.17 331.8)
XYZxyz(31.2359, 20.0333, 42.7707)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA55AF #55BA60
analogous
#9255BA #BA55AF #BA557C
triadic
#BA55AF #AFBA55 #55AFBA
tetradic
#BA55AF #BA9255 #55BA60 #557CBA
square
#BA55AF #BA9255 #55BA60 #557CBA
split-complementary
#BA55AF #7CBA55 #55BA92
monochromatic
#6A2B63 #953D8C #BA55AF #CC81C3 #DDACD8

Accessibility & contrast

On white

4.19
#BA55AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#BA55AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA55AF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA55AF#FFFFFF#000000##000000
##BA55AF1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5173B2
Deuteranopia (green-blind)
#7081AC
Tritanopia (blue-blind)
#C15D7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba55af;
/* rgb */ color: rgb(186, 85, 175);
/* oklch */ color: oklch(60.7% 0.170 331.8);
Tailwind
colors: {
  custom: {
    50: '#d18ac7',
    500: '#ba55af',
    950: '#000000',
  },
}
SCSS
$custom: #ba55af;
$custom-light: #d18ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba55af",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 175
  },
  "hsl": {
    "h": 306.535,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60687,
    "c": 0.16991,
    "h": 331.8
  },
  "luminance": 0.20031
}

Semantic roles & 50–950 ramp

primary
#BA55AF
secondary
#A0CBA4
accent
#D26356
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BA55AF

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

Preview Lab → · Contrast checker → · Palette generator →

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