#BA5BCD#BA5BCD

#BA5BCD is a light, vivid purple. Relative luminance 0.223; OKLCH L 63.0% C 0.188 H 320.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#BA5BCD
RGBrgb(186, 91, 205)
HSLhsl(290, 53%, 58%)
HSVhsv(290, 56%, 80%)
CMYKcmyk(9.3%, 55.6%, 0%, 19.6%)
CIE-LABlab(54.38, 55.07, -42.82)
CIE-LCHlch(54.38, 69.76, 322.13°)
OKLaboklab(62.99% 0.1454 -0.1189)
OKLCHoklch(62.99% 0.188 320.7)
XYZxyz(35.0089, 22.3306, 60.2119)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5BCD #6ECD5B
analogous
#815BCD #BA5BCD #CD5BA7
triadic
#BA5BCD #CDBA5B #5BCDBA
tetradic
#BA5BCD #CD815B #6ECD5B #5BA7CD
square
#BA5BCD #CD815B #6ECD5B #5BA7CD
split-complementary
#BA5BCD #A7CD5B #5BCD81
monochromatic
#762985 #9F37B4 #BA5BCD #CE8ADB #E1B9EA

Accessibility & contrast

On white

3.84
#BA5BCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#BA5BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5BCD
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5BCD#FFFFFF#000000##000000
##BA5BCD1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#457BD1
Deuteranopia (green-blind)
#6586CA
Tritanopia (blue-blind)
#BB6C8B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba5bcd;
/* rgb */ color: rgb(186, 91, 205);
/* oklch */ color: oklch(63.0% 0.188 320.7);
Tailwind
colors: {
  custom: {
    50: '#d18edd',
    500: '#ba5bcd',
    950: '#000000',
  },
}
SCSS
$custom: #ba5bcd;
$custom-light: #d18edd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5bcd",
  "rgb": {
    "r": 186,
    "g": 91,
    "b": 205
  },
  "hsl": {
    "h": 290,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.62991,
    "c": 0.18781,
    "h": 320.7
  },
  "luminance": 0.22329
}

Semantic roles & 50–950 ramp

primary
#BA5BCD
secondary
#B3D9AB
accent
#DD4B63
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140D15
muted
#837D83

Preview Lab

Preview with #BA5BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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