#BA55BC#BA55BC

#BA55BC is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.3% C 0.181 H 326.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#BA55BC
RGBrgb(186, 85, 188)
HSLhsl(299, 43%, 54%)
HSVhsv(299, 55%, 74%)
CMYKcmyk(1.1%, 54.8%, 0%, 26.3%)
CIE-LABlab(52.47, 54.76, -36.06)
CIE-LCHlch(52.47, 65.56, 326.64°)
OKLaboklab(61.32% 0.1516 -0.0993)
OKLCHoklch(61.32% 0.181 326.8)
XYZxyz(32.5747, 20.5688, 49.8216)
Luminance0.2057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA55BC #57BC55
analogous
#8655BC #BA55BC #BC558A
triadic
#BA55BC #BCBA55 #55BCBA
tetradic
#BA55BC #BC8655 #57BC55 #558ABC
square
#BA55BC #BC8655 #57BC55 #558ABC
split-complementary
#BA55BC #8ABC55 #55BC86
monochromatic
#6B2B6C #963C98 #BA55BC #CC81CD #DEADDF

Accessibility & contrast

On white

4.11
#BA55BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#BA55BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA55BC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA55BC#FFFFFF#000000##000000
##BA55BC1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4975BF
Deuteranopia (green-blind)
#6A82B9
Tritanopia (blue-blind)
#BF6181
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba55bc;
/* rgb */ color: rgb(186, 85, 188);
/* oklch */ color: oklch(61.3% 0.181 326.8);
Tailwind
colors: {
  custom: {
    50: '#d18ad0',
    500: '#ba55bc',
    950: '#000000',
  },
}
SCSS
$custom: #ba55bc;
$custom-light: #d18ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba55bc",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 188
  },
  "hsl": {
    "h": 298.835,
    "s": 43.46,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61324,
    "c": 0.1812,
    "h": 326.8
  },
  "luminance": 0.20567
}

Semantic roles & 50–950 ramp

primary
#BA55BC
secondary
#A1CCA0
accent
#D35557
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BA55BC

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

Preview Lab → · Contrast checker → · Palette generator →

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