#BA5DD5#BA5DD5

#BA5DD5 is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.7% C 0.193 H 318.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#BA5DD5
RGBrgb(186, 93, 213)
HSLhsl(287, 59%, 60%)
HSVhsv(287, 56%, 84%)
CMYKcmyk(12.7%, 56.3%, 0%, 16.5%)
CIE-LABlab(55.15, 55.67, -46.15)
CIE-LCHlch(55.15, 72.31, 320.34°)
OKLaboklab(63.69% 0.1434 -0.1286)
OKLCHoklch(63.69% 0.193 318.1)
XYZxyz(36.1726, 23.0733, 65.4861)
Luminance0.2307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5DD5 #78D55D
analogous
#7E5DD5 #BA5DD5 #D55DB4
triadic
#BA5DD5 #D5BA5D #5DD5BA
tetradic
#BA5DD5 #D57E5D #78D55D #5DB4D5
square
#BA5DD5 #D57E5D #78D55D #5DB4D5
split-complementary
#BA5DD5 #B4D55D #5DD57E
monochromatic
#7A2692 #A232C2 #BA5DD5 #CF8EE2 #E3BEEE

Accessibility & contrast

On white

3.74
#BA5DD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#BA5DD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5DD5
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5DD5#FFFFFF#000000##000000
##BA5DD51.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#427ED9
Deuteranopia (green-blind)
#6287D2
Tritanopia (blue-blind)
#BA7090
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ba5dd5;
/* rgb */ color: rgb(186, 93, 213);
/* oklch */ color: oklch(63.7% 0.193 318.1);
Tailwind
colors: {
  custom: {
    50: '#d18fe2',
    500: '#ba5dd5',
    950: '#000000',
  },
}
SCSS
$custom: #ba5dd5;
$custom-light: #d18fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5dd5",
  "rgb": {
    "r": 186,
    "g": 93,
    "b": 213
  },
  "hsl": {
    "h": 286.5,
    "s": 58.824,
    "l": 60
  },
  "oklch": {
    "l": 0.6369,
    "c": 0.19259,
    "h": 318.1
  },
  "luminance": 0.23072
}

Semantic roles & 50–950 ramp

primary
#BA5DD5
secondary
#BADEB0
accent
#E24669
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA5DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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