#BA4CDF#BA4CDF

#BA4CDF is a light, highly saturated purple. Relative luminance 0.209; OKLCH L 62.2% C 0.226 H 316.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#BA4CDF
RGBrgb(186, 76, 223)
HSLhsl(285, 70%, 59%)
HSVhsv(285, 66%, 87%)
CMYKcmyk(16.6%, 65.9%, 0%, 12.5%)
CIE-LABlab(52.88, 65.37, -55.43)
CIE-LCHlch(52.88, 85.71, 319.70°)
OKLaboklab(62.22% 0.1637 -0.1556)
OKLCHoklch(62.22% 0.226 316.4)
XYZxyz(36.1514, 20.9371, 71.9347)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CDF #71DF4C
analogous
#704CDF #BA4CDF #DF4CBA
triadic
#BA4CDF #DFBA4C #4CDFBA
tetradic
#BA4CDF #DF704C #71DF4C #4CBADF
square
#BA4CDF #DF704C #71DF4C #4CBADF
split-complementary
#BA4CDF #BADF4C #4CDF70
monochromatic
#771B96 #A024CA #BA4CDF #CE80E8 #E2B4F2

Accessibility & contrast

On white

4.05
#BA4CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#BA4CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CDF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CDF#FFFFFF#000000##000000
##BA4CDF1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E3
Deuteranopia (green-blind)
#4D81DC
Tritanopia (blue-blind)
#B8688F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba4cdf;
/* rgb */ color: rgb(186, 76, 223);
/* oklch */ color: oklch(62.2% 0.226 316.4);
Tailwind
colors: {
  custom: {
    50: '#d286ea',
    500: '#ba4cdf',
    950: '#000000',
  },
}
SCSS
$custom: #ba4cdf;
$custom-light: #d286ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4cdf",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 284.898,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62224,
    "c": 0.22584,
    "h": 316.4
  },
  "luminance": 0.20936
}

Semantic roles & 50–950 ramp

primary
#BA4CDF
secondary
#B5E0A6
accent
#EC3B68
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA4CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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