#BA4CCD#BA4CCD

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

Color values

HEX#BA4CCD
RGBrgb(186, 76, 205)
HSLhsl(291, 56%, 55%)
HSVhsv(291, 63%, 80%)
CMYKcmyk(9.3%, 62.9%, 0%, 19.6%)
CIE-LABlab(51.86, 61.93, -46.82)
CIE-LCHlch(51.86, 77.64, 322.92°)
OKLaboklab(61.16% 0.1639 -0.1304)
OKLCHoklch(61.16% 0.209 321.5)
XYZxyz(33.8524, 20.0175, 59.8264)
Luminance0.2002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CCD #5FCD4C
analogous
#7A4CCD #BA4CCD #CD4C9F
triadic
#BA4CCD #CDBA4C #4CCDBA
tetradic
#BA4CCD #CD7A4C #5FCD4C #4C9FCD
square
#BA4CCD #CD7A4C #5FCD4C #4C9FCD
split-complementary
#BA4CCD #9FCD4C #4CCD7A
monochromatic
#6F237C #9A30AC #BA4CCD #CC7CDA #DFACE8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA4CCD#FFFFFF#000000##000000
##BA4CCD1.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)
#2D74D1
Deuteranopia (green-blind)
#5A80CA
Tritanopia (blue-blind)
#BC6186
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba4ccd;
/* rgb */ color: rgb(186, 76, 205);
/* oklch */ color: oklch(61.2% 0.209 321.5);
Tailwind
colors: {
  custom: {
    50: '#d285dd',
    500: '#ba4ccd',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ccd;
$custom-light: #d285dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ccd",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 291.163,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61156,
    "c": 0.20948,
    "h": 321.5
  },
  "luminance": 0.20016
}

Semantic roles & 50–950 ramp

primary
#BA4CCD
secondary
#A7D59F
accent
#E0485E
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA4CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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