#BA5DCA#BA5DCA

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

Color values

HEX#BA5DCA
RGBrgb(186, 93, 202)
HSLhsl(291, 51%, 58%)
HSVhsv(291, 54%, 79%)
CMYKcmyk(7.9%, 54%, 0%, 20.8%)
CIE-LABlab(54.59, 53.52, -40.78)
CIE-LCHlch(54.59, 67.28, 322.70°)
OKLaboklab(63.1% 0.1425 -0.113)
OKLCHoklch(63.1% 0.182 321.6)
XYZxyz(34.8235, 22.5337, 58.3808)
Luminance0.2253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5DCA #6DCA5D
analogous
#845DCA #BA5DCA #CA5DA3
triadic
#BA5DCA #CABA5D #5DCABA
tetradic
#BA5DCA #CA845D #6DCA5D #5DA3CA
square
#BA5DCA #CA845D #6DCA5D #5DA3CA
split-complementary
#BA5DCA #A3CA5D #5DCA84
monochromatic
#752B82 #9F3AB0 #BA5DCA #CE8BD9 #E1B9E8

Accessibility & contrast

On white

3.81
#BA5DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#BA5DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5DCA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5DCA#FFFFFF#000000##000000
##BA5DCA1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7CCE
Deuteranopia (green-blind)
#6986C7
Tritanopia (blue-blind)
#BC6C8B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ba5dca;
/* rgb */ color: rgb(186, 93, 202);
/* oklch */ color: oklch(63.1% 0.182 321.6);
Tailwind
colors: {
  custom: {
    50: '#d18fda',
    500: '#ba5dca',
    950: '#000000',
  },
}
SCSS
$custom: #ba5dca;
$custom-light: #d18fda;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5dca",
  "rgb": {
    "r": 186,
    "g": 93,
    "b": 202
  },
  "hsl": {
    "h": 291.193,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63098,
    "c": 0.18183,
    "h": 321.6
  },
  "luminance": 0.22532
}

Semantic roles & 50–950 ramp

primary
#BA5DCA
secondary
#B2D7AC
accent
#DA4E62
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA5DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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