#BA5DCE#BA5DCE

#BA5DCE is a light, vivid purple. Relative luminance 0.227; OKLCH L 63.3% C 0.186 H 320.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#BA5DCE
RGBrgb(186, 93, 206)
HSLhsl(289, 54%, 59%)
HSVhsv(289, 55%, 81%)
CMYKcmyk(9.7%, 54.9%, 0%, 19.2%)
CIE-LABlab(54.79, 54.29, -42.74)
CIE-LCHlch(54.79, 69.10, 321.79°)
OKLaboklab(63.31% 0.1428 -0.1187)
OKLCHoklch(63.31% 0.186 320.3)
XYZxyz(35.3033, 22.7255, 60.9074)
Luminance0.2272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5DCE #71CE5D
analogous
#815DCE #BA5DCE #CE5DA9
triadic
#BA5DCE #CEBA5D #5DCEBA
tetradic
#BA5DCE #CE815D #71CE5D #5DA9CE
square
#BA5DCE #CE815D #71CE5D #5DA9CE
split-complementary
#BA5DCE #A9CE5D #5DCE81
monochromatic
#772988 #A037B7 #BA5DCE #CE8CDC #E2BBEA

Accessibility & contrast

On white

3.79
#BA5DCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#BA5DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5DCE
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5DCE#FFFFFF#000000##000000
##BA5DCE1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#477DD2
Deuteranopia (green-blind)
#6687CB
Tritanopia (blue-blind)
#BB6E8D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ba5dce;
/* rgb */ color: rgb(186, 93, 206);
/* oklch */ color: oklch(63.3% 0.186 320.3);
Tailwind
colors: {
  custom: {
    50: '#d18fdd',
    500: '#ba5dce',
    950: '#000000',
  },
}
SCSS
$custom: #ba5dce;
$custom-light: #d18fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5dce",
  "rgb": {
    "r": 186,
    "g": 93,
    "b": 206
  },
  "hsl": {
    "h": 289.381,
    "s": 53.555,
    "l": 58.627
  },
  "oklch": {
    "l": 0.6331,
    "c": 0.18572,
    "h": 320.3
  },
  "luminance": 0.22724
}

Semantic roles & 50–950 ramp

primary
#BA5DCE
secondary
#B5DAAD
accent
#DD4B65
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA5DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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