#BA56D3#BA56D3

#BA56D3 is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 62.7% C 0.201 H 319.2°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#BA56D3
RGBrgb(186, 86, 211)
HSLhsl(288, 59%, 58%)
HSVhsv(288, 59%, 83%)
CMYKcmyk(11.8%, 59.2%, 0%, 17.3%)
CIE-LABlab(53.81, 58.60, -47.13)
CIE-LCHlch(53.81, 75.20, 321.19°)
OKLaboklab(62.68% 0.1521 -0.1314)
OKLCHoklch(62.68% 0.201 319.2)
XYZxyz(35.3338, 21.7993, 63.9619)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA56D3 #6FD356
analogous
#7B56D3 #BA56D3 #D356AD
triadic
#BA56D3 #D3BA56 #56D3BA
tetradic
#BA56D3 #D37B56 #6FD356 #56ADD3
square
#BA56D3 #D37B56 #6FD356 #56ADD3
split-complementary
#BA56D3 #ADD356 #56D37B
monochromatic
#76248B #9F31BB #BA56D3 #CE87E0 #E2B7EC

Accessibility & contrast

On white

3.92
#BA56D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#BA56D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA56D3
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA56D3#FFFFFF#000000##000000
##BA56D31.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#387AD7
Deuteranopia (green-blind)
#5E84D0
Tritanopia (blue-blind)
#BA6A8D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba56d3;
/* rgb */ color: rgb(186, 86, 211);
/* oklch */ color: oklch(62.7% 0.201 319.2);
Tailwind
colors: {
  custom: {
    50: '#d28be1',
    500: '#ba56d3',
    950: '#000000',
  },
}
SCSS
$custom: #ba56d3;
$custom-light: #d28be1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba56d3",
  "rgb": {
    "r": 186,
    "g": 86,
    "b": 211
  },
  "hsl": {
    "h": 288,
    "s": 58.685,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62681,
    "c": 0.201,
    "h": 319.2
  },
  "luminance": 0.21798
}

Semantic roles & 50–950 ramp

primary
#BA56D3
secondary
#B3DBAA
accent
#E24665
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA56D3

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

Preview Lab → · Contrast checker → · Palette generator →

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