#BA5DD2#BA5DD2

#BA5DD2 is a light, vivid purple. Relative luminance 0.229; OKLCH L 63.5% C 0.190 H 319.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#BA5DD2
RGBrgb(186, 93, 210)
HSLhsl(288, 57%, 59%)
HSVhsv(288, 56%, 82%)
CMYKcmyk(11.4%, 55.7%, 0%, 17.6%)
CIE-LABlab(54.99, 55.08, -44.70)
CIE-LCHlch(54.99, 70.93, 320.94°)
OKLaboklab(63.53% 0.1432 -0.1244)
OKLCHoklch(63.53% 0.19 319)
XYZxyz(35.7954, 22.9224, 63.4992)
Luminance0.2292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5DD2 #75D25D
analogous
#805DD2 #BA5DD2 #D25DB0
triadic
#BA5DD2 #D2BA5D #5DD2BA
tetradic
#BA5DD2 #D2805D #75D25D #5DB0D2
square
#BA5DD2 #D2805D #75D25D #5DB0D2
split-complementary
#BA5DD2 #B0D25D #5DD280
monochromatic
#78278D #A135BD #BA5DD2 #CE8DDF #E3BDED

Accessibility & contrast

On white

3.76
#BA5DD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#BA5DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5DD2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5DD2#FFFFFF#000000##000000
##BA5DD21.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#447DD6
Deuteranopia (green-blind)
#6487CF
Tritanopia (blue-blind)
#BA6F8F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ba5dd2;
/* rgb */ color: rgb(186, 93, 210);
/* oklch */ color: oklch(63.5% 0.190 319.0);
Tailwind
colors: {
  custom: {
    50: '#d18fe0',
    500: '#ba5dd2',
    950: '#000000',
  },
}
SCSS
$custom: #ba5dd2;
$custom-light: #d18fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5dd2",
  "rgb": {
    "r": 186,
    "g": 93,
    "b": 210
  },
  "hsl": {
    "h": 287.692,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63525,
    "c": 0.18964,
    "h": 319
  },
  "luminance": 0.22921
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA5DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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