#BA4DE3#BA4DE3

#BA4DE3 is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.6% C 0.228 H 315.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#BA4DE3
RGBrgb(186, 77, 227)
HSLhsl(284, 73%, 60%)
HSVhsv(284, 66%, 89%)
CMYKcmyk(18.1%, 66.1%, 0%, 11%)
CIE-LABlab(53.27, 65.74, -57.07)
CIE-LCHlch(53.27, 87.05, 319.04°)
OKLaboklab(62.58% 0.1624 -0.1604)
OKLCHoklch(62.58% 0.228 315.4)
XYZxyz(36.7665, 21.2942, 74.8316)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4DE3 #76E34D
analogous
#6F4DE3 #BA4DE3 #E34DC1
triadic
#BA4DE3 #E3BA4D #4DE3BA
tetradic
#BA4DE3 #E36F4D #76E34D #4DC1E3
square
#BA4DE3 #E36F4D #76E34D #4DC1E3
split-complementary
#BA4DE3 #C1E34D #4DE36F
monochromatic
#79199D #A121D2 #BA4DE3 #CE82EB #E3B7F4

Accessibility & contrast

On white

3.99
#BA4DE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#BA4DE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4DE3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4DE3#FFFFFF#000000##000000
##BA4DE31.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E7
Deuteranopia (green-blind)
#4A82DF
Tritanopia (blue-blind)
#B76A92
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba4de3;
/* rgb */ color: rgb(186, 77, 227);
/* oklch */ color: oklch(62.6% 0.228 315.4);
Tailwind
colors: {
  custom: {
    50: '#d386ec',
    500: '#ba4de3',
    950: '#000000',
  },
}
SCSS
$custom: #ba4de3;
$custom-light: #d386ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4de3",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 227
  },
  "hsl": {
    "h": 283.6,
    "s": 72.816,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6258,
    "c": 0.22827,
    "h": 315.4
  },
  "luminance": 0.21293
}

Semantic roles & 50–950 ramp

primary
#BA4DE3
secondary
#B9E3A9
accent
#F0386A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA4DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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