#BA3FB0#BA3FB0

#BA3FB0 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.2% C 0.202 H 331.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#BA3FB0
RGBrgb(186, 63, 176)
HSLhsl(305, 49%, 49%)
HSVhsv(305, 66%, 73%)
CMYKcmyk(0%, 66.1%, 5.4%, 27.1%)
CIE-LABlab(48.42, 62.22, -35.43)
CIE-LCHlch(48.42, 71.60, 330.34°)
OKLaboklab(58.18% 0.1775 -0.0973)
OKLCHoklch(58.18% 0.202 331.3)
XYZxyz(29.8636, 17.1310, 42.7996)
Luminance0.1713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3FB0 #3FBA49
analogous
#873FBA #BA3FB0 #BA3F73
triadic
#BA3FB0 #B0BA3F #3FB0BA
tetradic
#BA3FB0 #BA873F #3FBA49 #3F73BA
square
#BA3FB0 #BA873F #3FBA49 #3F73BA
split-complementary
#BA3FB0 #73BA3F #3FBA87
monochromatic
#5F2059 #8C3085 #BA3FB0 #CC6AC4 #DC97D6

Accessibility & contrast

On white

4.74
#BA3FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#BA3FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3FB0
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3FB0#FFFFFF#000000##FFFFFF
##BA3FB01.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3768B3
Deuteranopia (green-blind)
#6379AD
Tritanopia (blue-blind)
#C14C72
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba3fb0;
/* rgb */ color: rgb(186, 63, 176);
/* oklch */ color: oklch(58.2% 0.202 331.3);
Tailwind
colors: {
  custom: {
    50: '#d27ec8',
    500: '#ba3fb0',
    950: '#000000',
  },
}
SCSS
$custom: #ba3fb0;
$custom-light: #d27ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3fb0",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 176
  },
  "hsl": {
    "h": 304.878,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58182,
    "c": 0.20239,
    "h": 331.3
  },
  "luminance": 0.17129
}

Semantic roles & 50–950 ramp

primary
#BA3FB0
secondary
#8DC892
accent
#D95A4F
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA3FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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