#BA3FB4#BA3FB4

#BA3FB4 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.4% C 0.206 H 329.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#BA3FB4
RGBrgb(186, 63, 180)
HSLhsl(303, 49%, 49%)
HSVhsv(303, 66%, 73%)
CMYKcmyk(0%, 66.1%, 3.2%, 27.1%)
CIE-LABlab(48.63, 62.88, -37.46)
CIE-LCHlch(48.63, 73.19, 329.22°)
OKLaboklab(58.39% 0.1777 -0.1032)
OKLCHoklch(58.39% 0.206 329.9)
XYZxyz(30.2652, 17.2916, 44.9147)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3FB4 #3FBA45
analogous
#833FBA #BA3FB4 #BA3F77
triadic
#BA3FB4 #B4BA3F #3FB4BA
tetradic
#BA3FB4 #BA833F #3FBA45 #3F77BA
square
#BA3FB4 #BA833F #3FBA45 #3F77BA
split-complementary
#BA3FB4 #77BA3F #3FBA83
monochromatic
#5F205C #8C3088 #BA3FB4 #CC6AC8 #DC97D9

Accessibility & contrast

On white

4.71
#BA3FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#BA3FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3FB4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3FB4#FFFFFF#000000##FFFFFF
##BA3FB41.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3369B7
Deuteranopia (green-blind)
#6179B1
Tritanopia (blue-blind)
#C14D74
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba3fb4;
/* rgb */ color: rgb(186, 63, 180);
/* oklch */ color: oklch(58.4% 0.206 329.9);
Tailwind
colors: {
  custom: {
    50: '#d27ecb',
    500: '#ba3fb4',
    950: '#000000',
  },
}
SCSS
$custom: #ba3fb4;
$custom-light: #d27ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3fb4",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 180
  },
  "hsl": {
    "h": 302.927,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58392,
    "c": 0.20551,
    "h": 329.9
  },
  "luminance": 0.17289
}

Semantic roles & 50–950 ramp

primary
#BA3FB4
secondary
#8DC890
accent
#D9564F
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA3FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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