#BA5ABD#BA5ABD

#BA5ABD is a light, vivid purple. Relative luminance 0.214; OKLCH L 62.0% C 0.174 H 326.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#BA5ABD
RGBrgb(186, 90, 189)
HSLhsl(298, 43%, 55%)
HSVhsv(298, 52%, 74%)
CMYKcmyk(1.6%, 52.4%, 0%, 25.9%)
CIE-LABlab(53.41, 52.54, -35.16)
CIE-LCHlch(53.41, 63.22, 326.21°)
OKLaboklab(62.03% 0.145 -0.0968)
OKLCHoklch(62.03% 0.174 326.3)
XYZxyz(33.0905, 21.4274, 50.5272)
Luminance0.2143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5ABD #5DBD5A
analogous
#895ABD #BA5ABD #BD5A8E
triadic
#BA5ABD #BDBA5A #5ABDBA
tetradic
#BA5ABD #BD895A #5DBD5A #5A8EBD
square
#BA5ABD #BD895A #5DBD5A #5A8EBD
split-complementary
#BA5ABD #8EBD5A #5ABD89
monochromatic
#6E2D70 #993E9C #BA5ABD #CC86CE #DFB1E0

Accessibility & contrast

On white

3.97
#BA5ABD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#BA5ABD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5ABD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5ABD#FFFFFF#000000##000000
##BA5ABD1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F78C0
Deuteranopia (green-blind)
#6D84BA
Tritanopia (blue-blind)
#BE6683
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ba5abd;
/* rgb */ color: rgb(186, 90, 189);
/* oklch */ color: oklch(62.0% 0.174 326.3);
Tailwind
colors: {
  custom: {
    50: '#d18dd1',
    500: '#ba5abd',
    950: '#000000',
  },
}
SCSS
$custom: #ba5abd;
$custom-light: #d18dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5abd",
  "rgb": {
    "r": 186,
    "g": 90,
    "b": 189
  },
  "hsl": {
    "h": 298.182,
    "s": 42.857,
    "l": 54.706
  },
  "oklch": {
    "l": 0.6203,
    "c": 0.17431,
    "h": 326.3
  },
  "luminance": 0.21426
}

Semantic roles & 50–950 ramp

primary
#BA5ABD
secondary
#A6CEA5
accent
#D35559
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BA5ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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