#BA56D0#BA56D0

#BA56D0 is a light, vivid purple. Relative luminance 0.216; OKLCH L 62.5% C 0.198 H 320.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#BA56D0
RGBrgb(186, 86, 208)
HSLhsl(289, 56%, 58%)
HSVhsv(289, 59%, 82%)
CMYKcmyk(10.6%, 58.7%, 0%, 18.4%)
CIE-LABlab(53.65, 58.02, -45.68)
CIE-LCHlch(53.65, 73.84, 321.79°)
OKLaboklab(62.51% 0.1519 -0.1272)
OKLCHoklch(62.51% 0.198 320.1)
XYZxyz(34.9613, 21.6503, 61.9996)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA56D0 #6CD056
analogous
#7D56D0 #BA56D0 #D056A9
triadic
#BA56D0 #D0BA56 #56D0BA
tetradic
#BA56D0 #D07D56 #6CD056 #56A9D0
square
#BA56D0 #D07D56 #6CD056 #56A9D0
split-complementary
#BA56D0 #A9D056 #56D07D
monochromatic
#752586 #9E33B6 #BA56D0 #CE86DD #E1B6EB

Accessibility & contrast

On white

3.94
#BA56D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#BA56D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA56D0
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA56D0#FFFFFF#000000##000000
##BA56D01.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B79D4
Deuteranopia (green-blind)
#6084CD
Tritanopia (blue-blind)
#BB698B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ba56d0;
/* rgb */ color: rgb(186, 86, 208);
/* oklch */ color: oklch(62.5% 0.198 320.1);
Tailwind
colors: {
  custom: {
    50: '#d28bdf',
    500: '#ba56d0',
    950: '#000000',
  },
}
SCSS
$custom: #ba56d0;
$custom-light: #d28bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba56d0",
  "rgb": {
    "r": 186,
    "g": 86,
    "b": 208
  },
  "hsl": {
    "h": 289.18,
    "s": 56.481,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62514,
    "c": 0.19815,
    "h": 320.1
  },
  "luminance": 0.21649
}

Semantic roles & 50–950 ramp

primary
#BA56D0
secondary
#B1D9A8
accent
#E04863
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA56D0

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

Preview Lab → · Contrast checker → · Palette generator →

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