#BA5BBD#BA5BBD

#BA5BBD is a light, vivid purple. Relative luminance 0.216; OKLCH L 62.2% C 0.173 H 326.2°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#BA5BBD
RGBrgb(186, 91, 189)
HSLhsl(298, 43%, 55%)
HSVhsv(298, 52%, 74%)
CMYKcmyk(1.6%, 51.9%, 0%, 25.9%)
CIE-LABlab(53.60, 52.06, -34.87)
CIE-LCHlch(53.60, 62.66, 326.18°)
OKLaboklab(62.17% 0.1436 -0.096)
OKLCHoklch(62.17% 0.173 326.2)
XYZxyz(33.1754, 21.5972, 50.5555)
Luminance0.2160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5BBD #5EBD5B
analogous
#895BBD #BA5BBD #BD5B8F
triadic
#BA5BBD #BDBA5B #5BBDBA
tetradic
#BA5BBD #BD895B #5EBD5B #5B8FBD
square
#BA5BBD #BD895B #5EBD5B #5B8FBD
split-complementary
#BA5BBD #8FBD5B #5BBD89
monochromatic
#6E2D70 #993F9C #BA5BBD #CC87CF #DFB2E0

Accessibility & contrast

On white

3.95
#BA5BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#BA5BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5BBD
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5BBD#FFFFFF#000000##000000
##BA5BBD1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5078C0
Deuteranopia (green-blind)
#6D84BA
Tritanopia (blue-blind)
#BE6684
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ba5bbd;
/* rgb */ color: rgb(186, 91, 189);
/* oklch */ color: oklch(62.2% 0.173 326.2);
Tailwind
colors: {
  custom: {
    50: '#d18dd1',
    500: '#ba5bbd',
    950: '#000000',
  },
}
SCSS
$custom: #ba5bbd;
$custom-light: #d18dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5bbd",
  "rgb": {
    "r": 186,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 298.163,
    "s": 42.609,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62165,
    "c": 0.17272,
    "h": 326.2
  },
  "luminance": 0.21595
}

Semantic roles & 50–950 ramp

primary
#BA5BBD
secondary
#A7CFA5
accent
#D25559
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BA5BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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