#BA4FDC#BA4FDC

#BA4FDC is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.4% C 0.219 H 317.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#BA4FDC
RGBrgb(186, 79, 220)
HSLhsl(286, 67%, 59%)
HSVhsv(286, 64%, 86%)
CMYKcmyk(15.5%, 64.1%, 0%, 13.7%)
CIE-LABlab(53.17, 63.50, -53.27)
CIE-LCHlch(53.17, 82.89, 320.01°)
OKLaboklab(62.38% 0.1605 -0.1493)
OKLCHoklch(62.38% 0.219 317.1)
XYZxyz(35.9621, 21.1998, 69.8939)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4FDC #71DC4F
analogous
#734FDC #BA4FDC #DC4FB7
triadic
#BA4FDC #DCBA4F #4FDCBA
tetradic
#BA4FDC #DC734F #71DC4F #4FB7DC
square
#BA4FDC #DC734F #71DC4F #4FB7DC
split-complementary
#BA4FDC #B7DC4F #4FDC73
monochromatic
#771D93 #A027C6 #BA4FDC #CE82E6 #E2B5F0

Accessibility & contrast

On white

4.01
#BA4FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#BA4FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4FDC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4FDC#FFFFFF#000000##000000
##BA4FDC1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A78E0
Deuteranopia (green-blind)
#5282D9
Tritanopia (blue-blind)
#B9698F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba4fdc;
/* rgb */ color: rgb(186, 79, 220);
/* oklch */ color: oklch(62.4% 0.219 317.1);
Tailwind
colors: {
  custom: {
    50: '#d287e7',
    500: '#ba4fdc',
    950: '#000000',
  },
}
SCSS
$custom: #ba4fdc;
$custom-light: #d287e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4fdc",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 220
  },
  "hsl": {
    "h": 285.532,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62375,
    "c": 0.21917,
    "h": 317.1
  },
  "luminance": 0.21198
}

Semantic roles & 50–950 ramp

primary
#BA4FDC
secondary
#B5DFA8
accent
#EA3E67
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #BA4FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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