#BA4DDD#BA4DDD

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

Color values

HEX#BA4DDD
RGBrgb(186, 77, 221)
HSLhsl(285, 68%, 58%)
HSVhsv(285, 65%, 87%)
CMYKcmyk(15.8%, 65.2%, 0%, 13.3%)
CIE-LABlab(52.92, 64.56, -54.24)
CIE-LCHlch(52.92, 84.32, 319.96°)
OKLaboklab(62.21% 0.1627 -0.1521)
OKLCHoklch(62.21% 0.223 316.9)
XYZxyz(35.9528, 20.9687, 70.5461)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4DDD #70DD4D
analogous
#724DDD #BA4DDD #DD4DB8
triadic
#BA4DDD #DDBA4D #4DDDBA
tetradic
#BA4DDD #DD724D #70DD4D #4DB8DD
square
#BA4DDD #DD724D #70DD4D #4DB8DD
split-complementary
#BA4DDD #B8DD4D #4DDD72
monochromatic
#761C93 #A026C7 #BA4DDD #CE80E7 #E2B4F1

Accessibility & contrast

On white

4.04
#BA4DDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA4DDD#FFFFFF#000000##000000
##BA4DDD1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F78E1
Deuteranopia (green-blind)
#5082DA
Tritanopia (blue-blind)
#B8688F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba4ddd;
/* rgb */ color: rgb(186, 77, 221);
/* oklch */ color: oklch(62.2% 0.223 316.9);
Tailwind
colors: {
  custom: {
    50: '#d286e8',
    500: '#ba4ddd',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ddd;
$custom-light: #d286e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ddd",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 221
  },
  "hsl": {
    "h": 285.417,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62211,
    "c": 0.22271,
    "h": 316.9
  },
  "luminance": 0.20967
}

Semantic roles & 50–950 ramp

primary
#BA4DDD
secondary
#B4DFA6
accent
#EB3D67
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA4DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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