#BA4DDE#BA4DDE

#BA4DDE is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.3% C 0.224 H 316.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#BA4DDE
RGBrgb(186, 77, 222)
HSLhsl(285, 69%, 59%)
HSVhsv(285, 65%, 87%)
CMYKcmyk(16.2%, 65.3%, 0%, 12.9%)
CIE-LABlab(52.97, 64.75, -54.72)
CIE-LCHlch(52.97, 84.77, 319.80°)
OKLaboklab(62.27% 0.1626 -0.1535)
OKLCHoklch(62.27% 0.224 316.7)
XYZxyz(36.0864, 21.0222, 71.2499)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4DDE #71DE4D
analogous
#714DDE #BA4DDE #DE4DBA
triadic
#BA4DDE #DEBA4D #4DDEBA
tetradic
#BA4DDE #DE714D #71DE4D #4DBADE
square
#BA4DDE #DE714D #71DE4D #4DBADE
split-complementary
#BA4DDE #BADE4D #4DDE71
monochromatic
#771C95 #A025C9 #BA4DDE #CE81E8 #E2B4F1

Accessibility & contrast

On white

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

On black

5.20
#BA4DDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4DDE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4DDE#FFFFFF#000000##000000
##BA4DDE1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B78E2
Deuteranopia (green-blind)
#4F82DB
Tritanopia (blue-blind)
#B8688F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba4dde;
/* rgb */ color: rgb(186, 77, 222);
/* oklch */ color: oklch(62.3% 0.224 316.7);
Tailwind
colors: {
  custom: {
    50: '#d286e9',
    500: '#ba4dde',
    950: '#000000',
  },
}
SCSS
$custom: #ba4dde;
$custom-light: #d286e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4dde",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 222
  },
  "hsl": {
    "h": 285.103,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62272,
    "c": 0.22364,
    "h": 316.7
  },
  "luminance": 0.21021
}

Semantic roles & 50–950 ramp

primary
#BA4DDE
secondary
#B5E0A7
accent
#EC3C68
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA4DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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