#BA4FD6#BA4FD6

#BA4FD6 is a light, highly saturated purple. Relative luminance 0.209; OKLCH L 62.0% C 0.214 H 318.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BA4FD6
RGBrgb(186, 79, 214)
HSLhsl(288, 62%, 57%)
HSVhsv(288, 63%, 84%)
CMYKcmyk(13.1%, 63.1%, 0%, 16.1%)
CIE-LABlab(52.83, 62.34, -50.41)
CIE-LCHlch(52.83, 80.17, 321.04°)
OKLaboklab(62.02% 0.1605 -0.1409)
OKLCHoklch(62.02% 0.214 318.7)
XYZxyz(35.1817, 20.8876, 65.7838)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4FD6 #6BD64F
analogous
#774FD6 #BA4FD6 #D64FAE
triadic
#BA4FD6 #D6BA4F #4FD6BA
tetradic
#BA4FD6 #D6774F #6BD64F #4FAED6
square
#BA4FD6 #D6774F #6BD64F #4FAED6
split-complementary
#BA4FD6 #AED64F #4FD677
monochromatic
#74208A #9E2CBC #BA4FD6 #CD81E2 #E1B2ED

Accessibility & contrast

On white

4.06
#BA4FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#BA4FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4FD6
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4FD6#FFFFFF#000000##000000
##BA4FD61.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2677DA
Deuteranopia (green-blind)
#5782D3
Tritanopia (blue-blind)
#BA668C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba4fd6;
/* rgb */ color: rgb(186, 79, 214);
/* oklch */ color: oklch(62.0% 0.214 318.7);
Tailwind
colors: {
  custom: {
    50: '#d287e3',
    500: '#ba4fd6',
    950: '#000000',
  },
}
SCSS
$custom: #ba4fd6;
$custom-light: #d287e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4fd6",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 214
  },
  "hsl": {
    "h": 287.556,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62018,
    "c": 0.21361,
    "h": 318.7
  },
  "luminance": 0.20886
}

Semantic roles & 50–950 ramp

primary
#BA4FD6
secondary
#B0DCA5
accent
#E54364
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C15
muted
#837D84

Preview Lab

Preview with #BA4FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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