#BA4DDF#BA4DDF

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

Color values

HEX#BA4DDF
RGBrgb(186, 77, 223)
HSLhsl(285, 70%, 59%)
HSVhsv(285, 65%, 87%)
CMYKcmyk(16.6%, 65.5%, 0%, 12.5%)
CIE-LABlab(53.03, 64.95, -55.19)
CIE-LCHlch(53.03, 85.23, 319.64°)
OKLaboklab(62.33% 0.1626 -0.1549)
OKLCHoklch(62.33% 0.225 316.4)
XYZxyz(36.2208, 21.0760, 71.9578)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4DDF #72DF4D
analogous
#714DDF #BA4DDF #DF4DBB
triadic
#BA4DDF #DFBA4D #4DDFBA
tetradic
#BA4DDF #DF714D #72DF4D #4DBBDF
square
#BA4DDF #DF714D #72DF4D #4DBBDF
split-complementary
#BA4DDF #BBDF4D #4DDF71
monochromatic
#771B97 #A024CA #BA4DDF #CE81E8 #E2B5F2

Accessibility & contrast

On white

4.03
#BA4DDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#BA4DDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4DDF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4DDF#FFFFFF#000000##000000
##BA4DDF1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0678E3
Deuteranopia (green-blind)
#4E82DC
Tritanopia (blue-blind)
#B86890
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba4ddf;
/* rgb */ color: rgb(186, 77, 223);
/* oklch */ color: oklch(62.3% 0.225 316.4);
Tailwind
colors: {
  custom: {
    50: '#d286ea',
    500: '#ba4ddf',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ddf;
$custom-light: #d286ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ddf",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 223
  },
  "hsl": {
    "h": 284.795,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62333,
    "c": 0.22456,
    "h": 316.4
  },
  "luminance": 0.21075
}

Semantic roles & 50–950 ramp

primary
#BA4DDF
secondary
#B6E1A7
accent
#EC3B68
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA4DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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