#BA55AD#BA55AD

#BA55AD is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.6% C 0.168 H 332.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#BA55AD
RGBrgb(186, 85, 173)
HSLhsl(308, 42%, 53%)
HSVhsv(308, 54%, 73%)
CMYKcmyk(0%, 54.3%, 7%, 27.1%)
CIE-LABlab(51.79, 52.14, -28.42)
CIE-LCHlch(51.79, 59.38, 331.41°)
OKLaboklab(60.59% 0.1494 -0.0774)
OKLCHoklch(60.59% 0.168 332.6)
XYZxyz(31.0410, 19.9553, 41.7439)
Luminance0.1995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA55AD #55BA62
analogous
#9455BA #BA55AD #BA557A
triadic
#BA55AD #ADBA55 #55ADBA
tetradic
#BA55AD #BA9455 #55BA62 #557ABA
square
#BA55AD #BA9455 #55BA62 #557ABA
split-complementary
#BA55AD #7ABA55 #55BA94
monochromatic
#6A2B62 #953D8A #BA55AD #CC81C2 #DDACD7

Accessibility & contrast

On white

4.21
#BA55AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#BA55AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA55AD
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA55AD#FFFFFF#000000##000000
##BA55AD1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5272B0
Deuteranopia (green-blind)
#7081AA
Tritanopia (blue-blind)
#C15C79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba55ad;
/* rgb */ color: rgb(186, 85, 173);
/* oklch */ color: oklch(60.6% 0.168 332.6);
Tailwind
colors: {
  custom: {
    50: '#d189c5',
    500: '#ba55ad',
    950: '#000000',
  },
}
SCSS
$custom: #ba55ad;
$custom-light: #d189c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba55ad",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 173
  },
  "hsl": {
    "h": 307.723,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60593,
    "c": 0.16824,
    "h": 332.6
  },
  "luminance": 0.19953
}

Semantic roles & 50–950 ramp

primary
#BA55AD
secondary
#A0CBA5
accent
#D26656
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BA55AD

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

Preview Lab → · Contrast checker → · Palette generator →

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