#BA4CDE#BA4CDE

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

Color values

HEX#BA4CDE
RGBrgb(186, 76, 222)
HSLhsl(285, 69%, 58%)
HSVhsv(285, 66%, 87%)
CMYKcmyk(16.2%, 65.8%, 0%, 12.9%)
CIE-LABlab(52.82, 65.18, -54.96)
CIE-LCHlch(52.82, 85.25, 319.86°)
OKLaboklab(62.16% 0.1637 -0.1542)
OKLCHoklch(62.16% 0.225 316.7)
XYZxyz(36.0170, 20.8833, 71.2267)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CDE #70DE4C
analogous
#714CDE #BA4CDE #DE4CB9
triadic
#BA4CDE #DEBA4C #4CDEBA
tetradic
#BA4CDE #DE714C #70DE4C #4CB9DE
square
#BA4CDE #DE714C #70DE4C #4CB9DE
split-complementary
#BA4CDE #B9DE4C #4CDE71
monochromatic
#761B94 #A025C8 #BA4CDE #CE80E8 #E2B3F1

Accessibility & contrast

On white

4.06
#BA4CDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#BA4CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CDE
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CDE#FFFFFF#000000##000000
##BA4CDE1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0477E2
Deuteranopia (green-blind)
#4E81DB
Tritanopia (blue-blind)
#B8678F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba4cde;
/* rgb */ color: rgb(186, 76, 222);
/* oklch */ color: oklch(62.2% 0.225 316.7);
Tailwind
colors: {
  custom: {
    50: '#d286e9',
    500: '#ba4cde',
    950: '#000000',
  },
}
SCSS
$custom: #ba4cde;
$custom-light: #d286e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4cde",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 222
  },
  "hsl": {
    "h": 285.205,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62163,
    "c": 0.22493,
    "h": 316.7
  },
  "luminance": 0.20882
}

Semantic roles & 50–950 ramp

primary
#BA4CDE
secondary
#B4E0A6
accent
#EC3C67
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA4CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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