#BA4FD3#BA4FD3

#BA4FD3 is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.8% C 0.211 H 319.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#BA4FD3
RGBrgb(186, 79, 211)
HSLhsl(289, 60%, 57%)
HSVhsv(289, 63%, 83%)
CMYKcmyk(11.8%, 62.6%, 0%, 17.3%)
CIE-LABlab(52.66, 61.76, -48.97)
CIE-LCHlch(52.66, 78.82, 321.59°)
OKLaboklab(61.84% 0.1605 -0.1367)
OKLCHoklch(61.84% 0.211 319.6)
XYZxyz(34.8021, 20.7358, 63.7846)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4FD3 #68D34F
analogous
#784FD3 #BA4FD3 #D34FAA
triadic
#BA4FD3 #D3BA4F #4FD3BA
tetradic
#BA4FD3 #D3784F #68D34F #4FAAD3
square
#BA4FD3 #D3784F #68D34F #4FAAD3
split-complementary
#BA4FD3 #AAD34F #4FD378
monochromatic
#732286 #9D2EB7 #BA4FD3 #CD80DF #E0B1EB

Accessibility & contrast

On white

4.08
#BA4FD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#BA4FD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4FD3
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4FD3#FFFFFF#000000##000000
##BA4FD31.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A76D7
Deuteranopia (green-blind)
#5981D0
Tritanopia (blue-blind)
#BB658A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba4fd3;
/* rgb */ color: rgb(186, 79, 211);
/* oklch */ color: oklch(61.8% 0.211 319.6);
Tailwind
colors: {
  custom: {
    50: '#d287e1',
    500: '#ba4fd3',
    950: '#000000',
  },
}
SCSS
$custom: #ba4fd3;
$custom-light: #d287e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4fd3",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 288.636,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61843,
    "c": 0.21084,
    "h": 319.6
  },
  "luminance": 0.20734
}

Semantic roles & 50–950 ramp

primary
#BA4FD3
secondary
#AEDAA4
accent
#E34563
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA4FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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