#BA5CD2#BA5CD2

#BA5CD2 is a light, vivid purple. Relative luminance 0.227; OKLCH L 63.4% C 0.191 H 319.1°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#BA5CD2
RGBrgb(186, 92, 210)
HSLhsl(288, 57%, 59%)
HSVhsv(288, 56%, 82%)
CMYKcmyk(11.4%, 56.2%, 0%, 17.6%)
CIE-LABlab(54.81, 55.56, -44.98)
CIE-LCHlch(54.81, 71.49, 321.01°)
OKLaboklab(63.39% 0.1444 -0.1252)
OKLCHoklch(63.39% 0.191 319.1)
XYZxyz(35.7082, 22.7480, 63.4701)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5CD2 #74D25C
analogous
#7F5CD2 #BA5CD2 #D25CAF
triadic
#BA5CD2 #D2BA5C #5CD2BA
tetradic
#BA5CD2 #D27F5C #74D25C #5CAFD2
square
#BA5CD2 #D27F5C #74D25C #5CAFD2
split-complementary
#BA5CD2 #AFD25C #5CD27F
monochromatic
#78278D #A134BD #BA5CD2 #CE8CDF #E3BCEC

Accessibility & contrast

On white

3.78
#BA5CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#BA5CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5CD2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5CD2#FFFFFF#000000##000000
##BA5CD21.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#437DD6
Deuteranopia (green-blind)
#6386CF
Tritanopia (blue-blind)
#BA6E8E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ba5cd2;
/* rgb */ color: rgb(186, 92, 210);
/* oklch */ color: oklch(63.4% 0.191 319.1);
Tailwind
colors: {
  custom: {
    50: '#d18ee0',
    500: '#ba5cd2',
    950: '#000000',
  },
}
SCSS
$custom: #ba5cd2;
$custom-light: #d18ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5cd2",
  "rgb": {
    "r": 186,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 287.797,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63393,
    "c": 0.19116,
    "h": 319.1
  },
  "luminance": 0.22747
}

Semantic roles & 50–950 ramp

primary
#BA5CD2
secondary
#B7DCAE
accent
#E04867
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA5CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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