#BA5CBD#BA5CBD

#BA5CBD is a light, vivid purple. Relative luminance 0.218; OKLCH L 62.3% C 0.171 H 326.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#BA5CBD
RGBrgb(186, 92, 189)
HSLhsl(298, 42%, 55%)
HSVhsv(298, 51%, 74%)
CMYKcmyk(1.6%, 51.3%, 0%, 25.9%)
CIE-LABlab(53.78, 51.57, -34.59)
CIE-LCHlch(53.78, 62.09, 326.15°)
OKLaboklab(62.3% 0.1422 -0.0951)
OKLCHoklch(62.3% 0.171 326.2)
XYZxyz(33.2615, 21.7693, 50.5842)
Luminance0.2177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5CBD #5FBD5C
analogous
#895CBD #BA5CBD #BD5C90
triadic
#BA5CBD #BDBA5C #5CBDBA
tetradic
#BA5CBD #BD895C #5FBD5C #5C90BD
square
#BA5CBD #BD895C #5FBD5C #5C90BD
split-complementary
#BA5CBD #90BD5C #5CBD89
monochromatic
#6F2E71 #9A3F9C #BA5CBD #CC88CF #DFB3E0

Accessibility & contrast

On white

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

On black

5.35
#BA5CBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5CBD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5CBD#FFFFFF#000000##000000
##BA5CBD1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5179C0
Deuteranopia (green-blind)
#6E85BA
Tritanopia (blue-blind)
#BE6784
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ba5cbd;
/* rgb */ color: rgb(186, 92, 189);
/* oklch */ color: oklch(62.3% 0.171 326.2);
Tailwind
colors: {
  custom: {
    50: '#d18ed1',
    500: '#ba5cbd',
    950: '#000000',
  },
}
SCSS
$custom: #ba5cbd;
$custom-light: #d18ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5cbd",
  "rgb": {
    "r": 186,
    "g": 92,
    "b": 189
  },
  "hsl": {
    "h": 298.144,
    "s": 42.358,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62301,
    "c": 0.17112,
    "h": 326.2
  },
  "luminance": 0.21768
}

Semantic roles & 50–950 ramp

primary
#BA5CBD
secondary
#A7CFA6
accent
#D2565A
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140D14
muted
#837D82

Preview Lab

Preview with #BA5CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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