#BA55C8#BA55C8

#BA55C8 is a mid, vivid purple. Relative luminance 0.211; OKLCH L 62.0% C 0.192 H 322.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#BA55C8
RGBrgb(186, 85, 200)
HSLhsl(293, 51%, 56%)
HSVhsv(293, 58%, 78%)
CMYKcmyk(7%, 57.5%, 0%, 21.6%)
CIE-LABlab(53.07, 56.96, -42.03)
CIE-LCHlch(53.07, 70.79, 323.58°)
OKLaboklab(61.95% 0.1527 -0.1166)
OKLCHoklch(61.95% 0.192 322.6)
XYZxyz(33.9225, 21.1079, 56.9198)
Luminance0.2111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA55C8 #63C855
analogous
#8055C8 #BA55C8 #C8559C
triadic
#BA55C8 #C8BA55 #55C8BA
tetradic
#BA55C8 #C88055 #63C855 #559CC8
square
#BA55C8 #C88055 #63C855 #559CC8
split-complementary
#BA55C8 #9CC855 #55C880
monochromatic
#71287B #9B37A9 #BA55C8 #CD83D7 #E0B1E6

Accessibility & contrast

On white

4.02
#BA55C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#BA55C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA55C8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA55C8#FFFFFF#000000##000000
##BA55C81.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4177CC
Deuteranopia (green-blind)
#6483C5
Tritanopia (blue-blind)
#BD6587
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba55c8;
/* rgb */ color: rgb(186, 85, 200);
/* oklch */ color: oklch(62.0% 0.192 322.6);
Tailwind
colors: {
  custom: {
    50: '#d18ad9',
    500: '#ba55c8',
    950: '#000000',
  },
}
SCSS
$custom: #ba55c8;
$custom-light: #d18ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba55c8",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 200
  },
  "hsl": {
    "h": 292.696,
    "s": 51.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61951,
    "c": 0.19213,
    "h": 322.6
  },
  "luminance": 0.21106
}

Semantic roles & 50–950 ramp

primary
#BA55C8
secondary
#AAD4A5
accent
#DB4D5E
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA55C8

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

Preview Lab → · Contrast checker → · Palette generator →

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