#BA3FC5#BA3FC5

#BA3FC5 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.3% C 0.219 H 324.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BA3FC5
RGBrgb(186, 63, 197)
HSLhsl(295, 54%, 51%)
HSVhsv(295, 68%, 77%)
CMYKcmyk(5.6%, 68%, 0%, 22.7%)
CIE-LABlab(49.53, 65.76, -45.91)
CIE-LCHlch(49.53, 80.20, 325.08°)
OKLaboklab(59.34% 0.1782 -0.1277)
OKLCHoklch(59.34% 0.219 324.4)
XYZxyz(32.1044, 18.0273, 54.6011)
Luminance0.1802 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3FC5 #4AC53F
analogous
#773FC5 #BA3FC5 #C53F8D
triadic
#BA3FC5 #C5BA3F #3FC5BA
tetradic
#BA3FC5 #C5773F #4AC53F #3F8DC5
square
#BA3FC5 #C5773F #4AC53F #3F8DC5
split-complementary
#BA3FC5 #8DC53F #3FC577
monochromatic
#64206A #902E99 #BA3FC5 #CB6ED3 #DC9DE1

Accessibility & contrast

On white

4.56
#BA3FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#BA3FC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3FC5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3FC5#FFFFFF#000000##000000
##BA3FC51.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E6CC9
Deuteranopia (green-blind)
#577BC2
Tritanopia (blue-blind)
#BE557D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba3fc5;
/* rgb */ color: rgb(186, 63, 197);
/* oklch */ color: oklch(59.3% 0.219 324.4);
Tailwind
colors: {
  custom: {
    50: '#d27ed7',
    500: '#ba3fc5',
    950: '#000000',
  },
}
SCSS
$custom: #ba3fc5;
$custom-light: #d27ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3fc5",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 197
  },
  "hsl": {
    "h": 295.075,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59336,
    "c": 0.21928,
    "h": 324.4
  },
  "luminance": 0.18025
}

Semantic roles & 50–950 ramp

primary
#BA3FC5
secondary
#97CE92
accent
#DD4B57
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BA3FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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