#BA5BBC#BA5BBC

#BA5BBC is a light, vivid purple. Relative luminance 0.216; OKLCH L 62.1% C 0.172 H 326.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#BA5BBC
RGBrgb(186, 91, 188)
HSLhsl(299, 42%, 55%)
HSVhsv(299, 52%, 74%)
CMYKcmyk(1.1%, 51.6%, 0%, 26.3%)
CIE-LABlab(53.55, 51.87, -34.37)
CIE-LCHlch(53.55, 62.23, 326.47°)
OKLaboklab(62.11% 0.1435 -0.0945)
OKLCHoklch(62.11% 0.172 326.6)
XYZxyz(33.0673, 21.5539, 49.9858)
Luminance0.2155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5BBC #5DBC5B
analogous
#8A5BBC #BA5BBC #BC5B8E
triadic
#BA5BBC #BCBA5B #5BBCBA
tetradic
#BA5BBC #BC8A5B #5DBC5B #5B8EBC
square
#BA5BBC #BC8A5B #5DBC5B #5B8EBC
split-complementary
#BA5BBC #8EBC5B #5BBC8A
monochromatic
#6E2D6F #993F9B #BA5BBC #CC86CE #DFB2E0

Accessibility & contrast

On white

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

On black

5.31
#BA5BBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5BBC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5BBC#FFFFFF#000000##000000
##BA5BBC1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5178BF
Deuteranopia (green-blind)
#6E84B9
Tritanopia (blue-blind)
#BF6683
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ba5bbc;
/* rgb */ color: rgb(186, 91, 188);
/* oklch */ color: oklch(62.1% 0.172 326.6);
Tailwind
colors: {
  custom: {
    50: '#d18dd0',
    500: '#ba5bbc',
    950: '#000000',
  },
}
SCSS
$custom: #ba5bbc;
$custom-light: #d18dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5bbc",
  "rgb": {
    "r": 186,
    "g": 91,
    "b": 188
  },
  "hsl": {
    "h": 298.763,
    "s": 41.991,
    "l": 54.706
  },
  "oklch": {
    "l": 0.62115,
    "c": 0.1718,
    "h": 326.6
  },
  "luminance": 0.21552
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA5BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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