#BA4DCA#BA4DCA

#BA4DCA is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.1% C 0.205 H 322.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BA4DCA
RGBrgb(186, 77, 202)
HSLhsl(292, 54%, 55%)
HSVhsv(292, 62%, 79%)
CMYKcmyk(7.9%, 61.9%, 0%, 20.8%)
CIE-LABlab(51.85, 60.94, -45.10)
CIE-LCHlch(51.85, 75.82, 323.50°)
OKLaboklab(61.1% 0.1627 -0.1255)
OKLCHoklch(61.1% 0.205 322.4)
XYZxyz(33.5631, 20.0129, 57.9607)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4DCA #5DCA4D
analogous
#7C4DCA #BA4DCA #CA4D9C
triadic
#BA4DCA #CABA4D #4DCABA
tetradic
#BA4DCA #CA7C4D #5DCA4D #4D9CCA
square
#BA4DCA #CA7C4D #5DCA4D #4D9CCA
split-complementary
#BA4DCA #9CCA4D #4DCA7C
monochromatic
#6E2479 #9932A8 #BA4DCA #CC7CD8 #DFABE6

Accessibility & contrast

On white

4.20
#BA4DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#BA4DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4DCA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4DCA#FFFFFF#000000##000000
##BA4DCA1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3274CE
Deuteranopia (green-blind)
#5D80C7
Tritanopia (blue-blind)
#BC6085
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba4dca;
/* rgb */ color: rgb(186, 77, 202);
/* oklch */ color: oklch(61.1% 0.205 322.4);
Tailwind
colors: {
  custom: {
    50: '#d286da',
    500: '#ba4dca',
    950: '#000000',
  },
}
SCSS
$custom: #ba4dca;
$custom-light: #d286da;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4dca",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 202
  },
  "hsl": {
    "h": 292.32,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.611,
    "c": 0.20542,
    "h": 322.4
  },
  "luminance": 0.20011
}

Semantic roles & 50–950 ramp

primary
#BA4DCA
secondary
#A6D49F
accent
#DD4A5D
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA4DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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