#BA5CBE#BA5CBE

#BA5CBE is a light, vivid purple. Relative luminance 0.218; OKLCH L 62.4% C 0.172 H 325.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#BA5CBE
RGBrgb(186, 92, 190)
HSLhsl(298, 43%, 55%)
HSVhsv(298, 52%, 75%)
CMYKcmyk(2.1%, 51.6%, 0%, 25.5%)
CIE-LABlab(53.83, 51.75, -35.09)
CIE-LCHlch(53.83, 62.52, 325.86°)
OKLaboklab(62.35% 0.1424 -0.0966)
OKLCHoklch(62.35% 0.172 325.8)
XYZxyz(33.3704, 21.8129, 51.1578)
Luminance0.2181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5CBE #60BE5C
analogous
#895CBE #BA5CBE #BE5C91
triadic
#BA5CBE #BEBA5C #5CBEBA
tetradic
#BA5CBE #BE895C #60BE5C #5C91BE
square
#BA5CBE #BE895C #60BE5C #5C91BE
split-complementary
#BA5CBE #91BE5C #5CBE89
monochromatic
#6F2E72 #9A3F9E #BA5CBE #CD88CF #DFB4E1

Accessibility & contrast

On white

3.92
#BA5CBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#BA5CBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5CBE
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5CBE#FFFFFF#000000##000000
##BA5CBE1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5179C1
Deuteranopia (green-blind)
#6E85BB
Tritanopia (blue-blind)
#BE6885
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba5cbe;
/* rgb */ color: rgb(186, 92, 190);
/* oklch */ color: oklch(62.4% 0.172 325.8);
Tailwind
colors: {
  custom: {
    50: '#d18ed2',
    500: '#ba5cbe',
    950: '#000000',
  },
}
SCSS
$custom: #ba5cbe;
$custom-light: #d18ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5cbe",
  "rgb": {
    "r": 186,
    "g": 92,
    "b": 190
  },
  "hsl": {
    "h": 297.551,
    "s": 42.982,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6235,
    "c": 0.17205,
    "h": 325.8
  },
  "luminance": 0.21811
}

Semantic roles & 50–950 ramp

primary
#BA5CBE
secondary
#A8CFA6
accent
#D3555A
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140D14
muted
#837D82

Preview Lab

Preview with #BA5CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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