#BA55C0#BA55C0

#BA55C0 is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.5% C 0.185 H 325.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#BA55C0
RGBrgb(186, 85, 192)
HSLhsl(297, 46%, 54%)
HSVhsv(297, 56%, 75%)
CMYKcmyk(3.1%, 55.7%, 0%, 24.7%)
CIE-LABlab(52.67, 55.48, -38.06)
CIE-LCHlch(52.67, 67.28, 325.55°)
OKLaboklab(61.53% 0.152 -0.1051)
OKLCHoklch(61.53% 0.185 325.3)
XYZxyz(33.0119, 20.7437, 52.1241)
Luminance0.2074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA55C0 #5BC055
analogous
#8555C0 #BA55C0 #C05590
triadic
#BA55C0 #C0BA55 #55C0BA
tetradic
#BA55C0 #C08555 #5BC055 #5590C0
square
#BA55C0 #C08555 #5BC055 #5590C0
split-complementary
#BA55C0 #90C055 #55C085
monochromatic
#6D2A71 #983A9D #BA55C0 #CC82D1 #DEAEE1

Accessibility & contrast

On white

4.08
#BA55C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#BA55C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA55C0
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA55C0#FFFFFF#000000##000000
##BA55C01.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4776C3
Deuteranopia (green-blind)
#6882BD
Tritanopia (blue-blind)
#BE6383
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba55c0;
/* rgb */ color: rgb(186, 85, 192);
/* oklch */ color: oklch(61.5% 0.185 325.3);
Tailwind
colors: {
  custom: {
    50: '#d18ad3',
    500: '#ba55c0',
    950: '#000000',
  },
}
SCSS
$custom: #ba55c0;
$custom-light: #d18ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba55c0",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 192
  },
  "hsl": {
    "h": 296.636,
    "s": 45.923,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61529,
    "c": 0.18479,
    "h": 325.3
  },
  "luminance": 0.20742
}

Semantic roles & 50–950 ramp

primary
#BA55C0
secondary
#A4CFA2
accent
#D6525A
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BA55C0

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

Preview Lab → · Contrast checker → · Palette generator →

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