#BA4FD4#BA4FD4

#BA4FD4 is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 61.9% C 0.212 H 319.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#BA4FD4
RGBrgb(186, 79, 212)
HSLhsl(288, 61%, 57%)
HSVhsv(288, 63%, 83%)
CMYKcmyk(12.3%, 62.7%, 0%, 16.9%)
CIE-LABlab(52.71, 61.95, -49.45)
CIE-LCHlch(52.71, 79.27, 321.40°)
OKLaboklab(61.9% 0.1605 -0.1381)
OKLCHoklch(61.9% 0.212 319.3)
XYZxyz(34.9278, 20.7861, 64.4469)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4FD4 #69D44F
analogous
#784FD4 #BA4FD4 #D44FAB
triadic
#BA4FD4 #D4BA4F #4FD4BA
tetradic
#BA4FD4 #D4784F #69D44F #4FABD4
square
#BA4FD4 #D4784F #69D44F #4FABD4
split-complementary
#BA4FD4 #ABD44F #4FD478
monochromatic
#732187 #9D2DB9 #BA4FD4 #CD80E0 #E1B1EC

Accessibility & contrast

On white

4.07
#BA4FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#BA4FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4FD4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4FD4#FFFFFF#000000##000000
##BA4FD41.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2977D8
Deuteranopia (green-blind)
#5881D1
Tritanopia (blue-blind)
#BA658B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba4fd4;
/* rgb */ color: rgb(186, 79, 212);
/* oklch */ color: oklch(61.9% 0.212 319.3);
Tailwind
colors: {
  custom: {
    50: '#d287e2',
    500: '#ba4fd4',
    950: '#000000',
  },
}
SCSS
$custom: #ba4fd4;
$custom-light: #d287e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4fd4",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 288.271,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61902,
    "c": 0.21177,
    "h": 319.3
  },
  "luminance": 0.20785
}

Semantic roles & 50–950 ramp

primary
#BA4FD4
secondary
#AFDAA4
accent
#E44463
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA4FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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