#BA4FDE#BA4FDE

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

Color values

HEX#BA4FDE
RGBrgb(186, 79, 222)
HSLhsl(285, 68%, 59%)
HSVhsv(285, 64%, 87%)
CMYKcmyk(16.2%, 64.4%, 0%, 12.9%)
CIE-LABlab(53.28, 63.89, -54.22)
CIE-LCHlch(53.28, 83.80, 319.68°)
OKLaboklab(62.5% 0.1604 -0.1521)
OKLCHoklch(62.5% 0.221 316.5)
XYZxyz(36.2285, 21.3064, 71.2972)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4FDE #73DE4F
analogous
#734FDE #BA4FDE #DE4FBB
triadic
#BA4FDE #DEBA4F #4FDEBA
tetradic
#BA4FDE #DE734F #73DE4F #4FBBDE
square
#BA4FDE #DE734F #73DE4F #4FBBDE
split-complementary
#BA4FDE #BBDE4F #4FDE73
monochromatic
#781C96 #A126CA #BA4FDE #CE83E8 #E2B6F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA4FDE#FFFFFF#000000##000000
##BA4FDE1.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)
#1579E2
Deuteranopia (green-blind)
#5082DB
Tritanopia (blue-blind)
#B86990
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba4fde;
/* rgb */ color: rgb(186, 79, 222);
/* oklch */ color: oklch(62.5% 0.221 316.5);
Tailwind
colors: {
  custom: {
    50: '#d287e9',
    500: '#ba4fde',
    950: '#000000',
  },
}
SCSS
$custom: #ba4fde;
$custom-light: #d287e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4fde",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 222
  },
  "hsl": {
    "h": 284.895,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62495,
    "c": 0.22103,
    "h": 316.5
  },
  "luminance": 0.21305
}

Semantic roles & 50–950 ramp

primary
#BA4FDE
secondary
#B6E0A8
accent
#EB3D69
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA4FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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