#BA4EDD#BA4EDD

#BA4EDD is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.3% C 0.221 H 316.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#BA4EDD
RGBrgb(186, 78, 221)
HSLhsl(285, 68%, 59%)
HSVhsv(285, 65%, 87%)
CMYKcmyk(15.8%, 64.7%, 0%, 13.3%)
CIE-LABlab(53.07, 64.13, -54.00)
CIE-LCHlch(53.07, 83.83, 319.90°)
OKLaboklab(62.32% 0.1616 -0.1514)
OKLCHoklch(62.32% 0.221 316.9)
XYZxyz(36.0233, 21.1097, 70.5696)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4EDD #71DD4E
analogous
#724EDD #BA4EDD #DD4EB8
triadic
#BA4EDD #DDBA4E #4EDDBA
tetradic
#BA4EDD #DD724E #71DD4E #4EB8DD
square
#BA4EDD #DD724E #71DD4E #4EB8DD
split-complementary
#BA4EDD #B8DD4E #4EDD72
monochromatic
#771C94 #A026C7 #BA4EDD #CE81E7 #E2B5F1

Accessibility & contrast

On white

4.02
#BA4EDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#BA4EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4EDD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4EDD#FFFFFF#000000##000000
##BA4EDD1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1478E1
Deuteranopia (green-blind)
#5082DA
Tritanopia (blue-blind)
#B8688F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba4edd;
/* rgb */ color: rgb(186, 78, 221);
/* oklch */ color: oklch(62.3% 0.221 316.9);
Tailwind
colors: {
  custom: {
    50: '#d287e8',
    500: '#ba4edd',
    950: '#000000',
  },
}
SCSS
$custom: #ba4edd;
$custom-light: #d287e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4edd",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 221
  },
  "hsl": {
    "h": 285.315,
    "s": 67.773,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62322,
    "c": 0.22141,
    "h": 316.9
  },
  "luminance": 0.21108
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA4EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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