#BA5CD0#BA5CD0

#BA5CD0 is a light, vivid purple. Relative luminance 0.226; OKLCH L 63.3% C 0.189 H 319.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#BA5CD0
RGBrgb(186, 92, 208)
HSLhsl(289, 55%, 59%)
HSVhsv(289, 56%, 82%)
CMYKcmyk(10.6%, 55.8%, 0%, 18.4%)
CIE-LABlab(54.71, 55.17, -44.01)
CIE-LCHlch(54.71, 70.57, 321.42°)
OKLaboklab(63.28% 0.1443 -0.1224)
OKLCHoklch(63.28% 0.189 319.7)
XYZxyz(35.4606, 22.6490, 62.1661)
Luminance0.2265 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5CD0 #72D05C
analogous
#805CD0 #BA5CD0 #D05CAC
triadic
#BA5CD0 #D0BA5C #5CD0BA
tetradic
#BA5CD0 #D0805C #72D05C #5CACD0
square
#BA5CD0 #D0805C #72D05C #5CACD0
split-complementary
#BA5CD0 #ACD05C #5CD080
monochromatic
#77288A #A035B9 #BA5CD0 #CE8CDE #E2BBEB

Accessibility & contrast

On white

3.80
#BA5CD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#BA5CD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5CD0
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5CD0#FFFFFF#000000##000000
##BA5CD01.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#447CD4
Deuteranopia (green-blind)
#6486CD
Tritanopia (blue-blind)
#BB6D8D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ba5cd0;
/* rgb */ color: rgb(186, 92, 208);
/* oklch */ color: oklch(63.3% 0.189 319.7);
Tailwind
colors: {
  custom: {
    50: '#d18edf',
    500: '#ba5cd0',
    950: '#000000',
  },
}
SCSS
$custom: #ba5cd0;
$custom-light: #d18edf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5cd0",
  "rgb": {
    "r": 186,
    "g": 92,
    "b": 208
  },
  "hsl": {
    "h": 288.621,
    "s": 55.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63284,
    "c": 0.18921,
    "h": 319.7
  },
  "luminance": 0.22647
}

Semantic roles & 50–950 ramp

primary
#BA5CD0
secondary
#B6DBAD
accent
#DF4966
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA5CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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