#BA4ADC#BA4ADC

#BA4ADC is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.8% C 0.226 H 317.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#BA4ADC
RGBrgb(186, 74, 220)
HSLhsl(286, 68%, 58%)
HSVhsv(286, 66%, 86%)
CMYKcmyk(15.5%, 66.4%, 0%, 13.7%)
CIE-LABlab(52.40, 65.62, -54.49)
CIE-LCHlch(52.40, 85.30, 320.29°)
OKLaboklab(61.83% 0.166 -0.1528)
OKLCHoklch(61.83% 0.226 317.4)
XYZxyz(35.6149, 20.5054, 69.7782)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4ADC #6CDC4A
analogous
#714ADC #BA4ADC #DC4AB5
triadic
#BA4ADC #DCBA4A #4ADCBA
tetradic
#BA4ADC #DC714A #6CDC4A #4AB5DC
square
#BA4ADC #DC714A #6CDC4A #4AB5DC
split-complementary
#BA4ADC #B5DC4A #4ADC71
monochromatic
#751C90 #9E26C3 #BA4ADC #CE7DE6 #E1B1F0

Accessibility & contrast

On white

4.12
#BA4ADC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#BA4ADC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4ADC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4ADC#FFFFFF#000000##000000
##BA4ADC1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0176E0
Deuteranopia (green-blind)
#4E80D9
Tritanopia (blue-blind)
#B9658D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba4adc;
/* rgb */ color: rgb(186, 74, 220);
/* oklch */ color: oklch(61.8% 0.226 317.4);
Tailwind
colors: {
  custom: {
    50: '#d285e7',
    500: '#ba4adc',
    950: '#000000',
  },
}
SCSS
$custom: #ba4adc;
$custom-light: #d285e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4adc",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 220
  },
  "hsl": {
    "h": 286.027,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61825,
    "c": 0.22563,
    "h": 317.4
  },
  "luminance": 0.20504
}

Semantic roles & 50–950 ramp

primary
#BA4ADC
secondary
#B1DEA4
accent
#EA3D66
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA4ADC

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

Preview Lab → · Contrast checker → · Palette generator →

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