#BA4DE4#BA4DE4

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

Color values

HEX#BA4DE4
RGBrgb(186, 77, 228)
HSLhsl(283, 74%, 60%)
HSVhsv(283, 66%, 89%)
CMYKcmyk(18.4%, 66.2%, 0%, 10.6%)
CIE-LABlab(53.33, 65.93, -57.53)
CIE-LCHlch(53.33, 87.51, 318.89°)
OKLaboklab(62.64% 0.1624 -0.1618)
OKLCHoklch(62.64% 0.229 315.1)
XYZxyz(36.9049, 21.3496, 75.5606)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4DE4 #77E44D
analogous
#6E4DE4 #BA4DE4 #E44DC3
triadic
#BA4DE4 #E4BA4D #4DE4BA
tetradic
#BA4DE4 #E46E4D #77E44D #4DC3E4
square
#BA4DE4 #E46E4D #77E44D #4DC3E4
split-complementary
#BA4DE4 #C3E44D #4DE46E
monochromatic
#79189F #A220D4 #BA4DE4 #CF82EC #E3B7F4

Accessibility & contrast

On white

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

On black

5.27
#BA4DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4DE4
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4DE4#FFFFFF#000000##000000
##BA4DE41.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#4982E0
Tritanopia (blue-blind)
#B76A92
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba4de4;
/* rgb */ color: rgb(186, 77, 228);
/* oklch */ color: oklch(62.6% 0.229 315.1);
Tailwind
colors: {
  custom: {
    50: '#d386ed',
    500: '#ba4de4',
    950: '#000000',
  },
}
SCSS
$custom: #ba4de4;
$custom-light: #d386ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4de4",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 228
  },
  "hsl": {
    "h": 283.311,
    "s": 73.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62643,
    "c": 0.22919,
    "h": 315.1
  },
  "luminance": 0.21348
}

Semantic roles & 50–950 ramp

primary
#BA4DE4
secondary
#B9E4A9
accent
#F0376B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA4DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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