#BA5CCD#BA5CCD

#BA5CCD is a light, vivid purple. Relative luminance 0.225; OKLCH L 63.1% C 0.186 H 320.7°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#BA5CCD
RGBrgb(186, 92, 205)
HSLhsl(290, 53%, 58%)
HSVhsv(290, 55%, 80%)
CMYKcmyk(9.3%, 55.1%, 0%, 19.6%)
CIE-LABlab(54.56, 54.58, -42.54)
CIE-LCHlch(54.56, 69.20, 322.07°)
OKLaboklab(63.12% 0.1441 -0.1181)
OKLCHoklch(63.12% 0.186 320.7)
XYZxyz(35.0950, 22.5027, 60.2406)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5CCD #6FCD5C
analogous
#815CCD #BA5CCD #CD5CA7
triadic
#BA5CCD #CDBA5C #5CCDBA
tetradic
#BA5CCD #CD815C #6FCD5C #5CA7CD
square
#BA5CCD #CD815C #6FCD5C #5CA7CD
split-complementary
#BA5CCD #A7CD5C #5CCD81
monochromatic
#762986 #9F37B4 #BA5CCD #CE8BDB #E2BAEA

Accessibility & contrast

On white

3.82
#BA5CCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#BA5CCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5CCD
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5CCD#FFFFFF#000000##000000
##BA5CCD1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#477CD1
Deuteranopia (green-blind)
#6686CA
Tritanopia (blue-blind)
#BB6C8C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba5ccd;
/* rgb */ color: rgb(186, 92, 205);
/* oklch */ color: oklch(63.1% 0.186 320.7);
Tailwind
colors: {
  custom: {
    50: '#d18edd',
    500: '#ba5ccd',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ccd;
$custom-light: #d18edd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ccd",
  "rgb": {
    "r": 186,
    "g": 92,
    "b": 205
  },
  "hsl": {
    "h": 289.912,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63123,
    "c": 0.18628,
    "h": 320.7
  },
  "luminance": 0.22501
}

Semantic roles & 50–950 ramp

primary
#BA5CCD
secondary
#B3D9AC
accent
#DC4B64
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA5CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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