#BA4DD4#BA4DD4

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

Color values

HEX#BA4DD4
RGBrgb(186, 77, 212)
HSLhsl(288, 61%, 57%)
HSVhsv(288, 64%, 83%)
CMYKcmyk(12.3%, 63.7%, 0%, 16.9%)
CIE-LABlab(52.40, 62.82, -49.95)
CIE-LCHlch(52.40, 80.26, 321.51°)
OKLaboklab(61.67% 0.1628 -0.1396)
OKLCHoklch(61.67% 0.214 319.4)
XYZxyz(34.7857, 20.5019, 64.3995)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4DD4 #67D44D
analogous
#774DD4 #BA4DD4 #D44DAB
triadic
#BA4DD4 #D4BA4D #4DD4BA
tetradic
#BA4DD4 #D4774D #67D44D #4DABD4
square
#BA4DD4 #D4774D #67D44D #4DABD4
split-complementary
#BA4DD4 #ABD44D #4DD477
monochromatic
#732086 #9D2CB7 #BA4DD4 #CD7EE0 #E0B0EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA4DD4#FFFFFF#000000##000000
##BA4DD41.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)
#2476D8
Deuteranopia (green-blind)
#5681D1
Tritanopia (blue-blind)
#BA648A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba4dd4;
/* rgb */ color: rgb(186, 77, 212);
/* oklch */ color: oklch(61.7% 0.214 319.4);
Tailwind
colors: {
  custom: {
    50: '#d286e2',
    500: '#ba4dd4',
    950: '#000000',
  },
}
SCSS
$custom: #ba4dd4;
$custom-light: #d286e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4dd4",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 212
  },
  "hsl": {
    "h": 288.444,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61674,
    "c": 0.21447,
    "h": 319.4
  },
  "luminance": 0.205
}

Semantic roles & 50–950 ramp

primary
#BA4DD4
secondary
#ADDAA3
accent
#E44463
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA4DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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