#BA5DC0#BA5DC0

#BA5DC0 is a light, vivid purple. Relative luminance 0.221; OKLCH L 62.6% C 0.172 H 325.1°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#BA5DC0
RGBrgb(186, 93, 192)
HSLhsl(296, 44%, 56%)
HSVhsv(296, 52%, 75%)
CMYKcmyk(3.1%, 51.6%, 0%, 24.7%)
CIE-LABlab(54.11, 51.63, -35.80)
CIE-LCHlch(54.11, 62.83, 325.26°)
OKLaboklab(62.59% 0.1413 -0.0987)
OKLCHoklch(62.59% 0.172 325.1)
XYZxyz(33.6777, 22.0753, 52.3460)
Luminance0.2207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5DC0 #63C05D
analogous
#885DC0 #BA5DC0 #C05D94
triadic
#BA5DC0 #C0BA5D #5DC0BA
tetradic
#BA5DC0 #C0885D #63C05D #5D94C0
square
#BA5DC0 #C0885D #63C05D #5D94C0
split-complementary
#BA5DC0 #94C05D #5DC088
monochromatic
#712E75 #9B3FA1 #BA5DC0 #CD89D1 #E0B5E2

Accessibility & contrast

On white

3.88
#BA5DC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#BA5DC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5DC0
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5DC0#FFFFFF#000000##000000
##BA5DC01.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#517AC3
Deuteranopia (green-blind)
#6D85BD
Tritanopia (blue-blind)
#BE6986
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba5dc0;
/* rgb */ color: rgb(186, 93, 192);
/* oklch */ color: oklch(62.6% 0.172 325.1);
Tailwind
colors: {
  custom: {
    50: '#d18fd3',
    500: '#ba5dc0',
    950: '#000000',
  },
}
SCSS
$custom: #ba5dc0;
$custom-light: #d18fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5dc0",
  "rgb": {
    "r": 186,
    "g": 93,
    "b": 192
  },
  "hsl": {
    "h": 296.364,
    "s": 44,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62586,
    "c": 0.17231,
    "h": 325.1
  },
  "luminance": 0.22074
}

Semantic roles & 50–950 ramp

primary
#BA5DC0
secondary
#AAD1A8
accent
#D4545C
background
#FDF9FD
surface
#FAF1FA
border
#D3CBD3
text
#140D14
muted
#837E83

Preview Lab

Preview with #BA5DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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