#BA4FDD#BA4FDD

#BA4FDD is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.4% C 0.220 H 316.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#BA4FDD
RGBrgb(186, 79, 221)
HSLhsl(285, 68%, 59%)
HSVhsv(285, 64%, 87%)
CMYKcmyk(15.8%, 64.3%, 0%, 13.3%)
CIE-LABlab(53.23, 63.70, -53.75)
CIE-LCHlch(53.23, 83.34, 319.84°)
OKLaboklab(62.43% 0.1604 -0.1507)
OKLCHoklch(62.43% 0.22 316.8)
XYZxyz(36.0949, 21.2529, 70.5935)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4FDD #72DD4F
analogous
#734FDD #BA4FDD #DD4FB9
triadic
#BA4FDD #DDBA4F #4FDDBA
tetradic
#BA4FDD #DD734F #72DD4F #4FB9DD
square
#BA4FDD #DD734F #72DD4F #4FB9DD
split-complementary
#BA4FDD #B9DD4F #4FDD73
monochromatic
#771D95 #A027C8 #BA4FDD #CE82E7 #E2B6F1

Accessibility & contrast

On white

4.00
#BA4FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#BA4FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4FDD
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4FDD#FFFFFF#000000##000000
##BA4FDD1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1878E1
Deuteranopia (green-blind)
#5182DA
Tritanopia (blue-blind)
#B8698F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba4fdd;
/* rgb */ color: rgb(186, 79, 221);
/* oklch */ color: oklch(62.4% 0.220 316.8);
Tailwind
colors: {
  custom: {
    50: '#d287e8',
    500: '#ba4fdd',
    950: '#000000',
  },
}
SCSS
$custom: #ba4fdd;
$custom-light: #d287e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4fdd",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 285.211,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62435,
    "c": 0.2201,
    "h": 316.8
  },
  "luminance": 0.21252
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA4FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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