#BA55BD#BA55BD

#BA55BD is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.4% C 0.182 H 326.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BA55BD
RGBrgb(186, 85, 189)
HSLhsl(298, 44%, 54%)
HSVhsv(298, 55%, 74%)
CMYKcmyk(1.6%, 55%, 0%, 25.9%)
CIE-LABlab(52.52, 54.94, -36.56)
CIE-LCHlch(52.52, 65.99, 326.36°)
OKLaboklab(61.38% 0.1517 -0.1008)
OKLCHoklch(61.38% 0.182 326.4)
XYZxyz(32.6829, 20.6121, 50.3913)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA55BD #58BD55
analogous
#8655BD #BA55BD #BD558C
triadic
#BA55BD #BDBA55 #55BDBA
tetradic
#BA55BD #BD8655 #58BD55 #558CBD
square
#BA55BD #BD8655 #58BD55 #558CBD
split-complementary
#BA55BD #8CBD55 #55BD86
monochromatic
#6B2A6D #973C99 #BA55BD #CC81CE #DEADDF

Accessibility & contrast

On white

4.10
#BA55BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#BA55BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA55BD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA55BD#FFFFFF#000000##000000
##BA55BD1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4975C0
Deuteranopia (green-blind)
#6982BA
Tritanopia (blue-blind)
#BF6281
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba55bd;
/* rgb */ color: rgb(186, 85, 189);
/* oklch */ color: oklch(61.4% 0.182 326.4);
Tailwind
colors: {
  custom: {
    50: '#d18ad1',
    500: '#ba55bd',
    950: '#000000',
  },
}
SCSS
$custom: #ba55bd;
$custom-light: #d18ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba55bd",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 189
  },
  "hsl": {
    "h": 298.269,
    "s": 44.068,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61375,
    "c": 0.18209,
    "h": 326.4
  },
  "luminance": 0.2061
}

Semantic roles & 50–950 ramp

primary
#BA55BD
secondary
#A2CDA1
accent
#D45458
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BA55BD

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

Preview Lab → · Contrast checker → · Palette generator →

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