#BA4CDA#BA4CDA

#BA4CDA is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.9% C 0.221 H 317.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BA4CDA
RGBrgb(186, 76, 218)
HSLhsl(286, 66%, 58%)
HSVhsv(286, 65%, 85%)
CMYKcmyk(14.7%, 65.1%, 0%, 14.5%)
CIE-LABlab(52.59, 64.40, -53.06)
CIE-LCHlch(52.59, 83.45, 320.51°)
OKLaboklab(61.92% 0.1639 -0.1487)
OKLCHoklch(61.92% 0.221 317.8)
XYZxyz(35.4872, 20.6714, 68.4368)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CDA #6CDA4C
analogous
#734CDA #BA4CDA #DA4CB3
triadic
#BA4CDA #DABA4C #4CDABA
tetradic
#BA4CDA #DA734C #6CDA4C #4CB3DA
square
#BA4CDA #DA734C #6CDA4C #4CB3DA
split-complementary
#BA4CDA #B3DA4C #4CDA73
monochromatic
#751D8E #9E28C1 #BA4CDA #CE7FE4 #E1B1EF

Accessibility & contrast

On white

4.09
#BA4CDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#BA4CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CDA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CDA#FFFFFF#000000##000000
##BA4CDA1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1476DE
Deuteranopia (green-blind)
#5181D7
Tritanopia (blue-blind)
#B9668D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba4cda;
/* rgb */ color: rgb(186, 76, 218);
/* oklch */ color: oklch(61.9% 0.221 317.8);
Tailwind
colors: {
  custom: {
    50: '#d286e6',
    500: '#ba4cda',
    950: '#000000',
  },
}
SCSS
$custom: #ba4cda;
$custom-light: #d286e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4cda",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 218
  },
  "hsl": {
    "h": 286.479,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.6192,
    "c": 0.22126,
    "h": 317.8
  },
  "luminance": 0.2067
}

Semantic roles & 50–950 ramp

primary
#BA4CDA
secondary
#B1DDA4
accent
#E93F65
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA4CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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