#BA3FB5#BA3FB5

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

Color values

HEX#BA3FB5
RGBrgb(186, 63, 181)
HSLhsl(302, 49%, 49%)
HSVhsv(302, 66%, 73%)
CMYKcmyk(0%, 66.1%, 2.7%, 27.1%)
CIE-LABlab(48.68, 63.04, -37.96)
CIE-LCHlch(48.68, 73.59, 328.94°)
OKLaboklab(58.45% 0.1778 -0.1046)
OKLCHoklch(58.45% 0.206 329.5)
XYZxyz(30.3675, 17.3325, 45.4532)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3FB5 #3FBA44
analogous
#823FBA #BA3FB5 #BA3F78
triadic
#BA3FB5 #B5BA3F #3FB5BA
tetradic
#BA3FB5 #BA823F #3FBA44 #3F78BA
square
#BA3FB5 #BA823F #3FBA44 #3F78BA
split-complementary
#BA3FB5 #78BA3F #3FBA82
monochromatic
#5F205C #8C3089 #BA3FB5 #CC6AC8 #DC97D9

Accessibility & contrast

On white

4.70
#BA3FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#BA3FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3FB5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3FB5#FFFFFF#000000##FFFFFF
##BA3FB51.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3269B8
Deuteranopia (green-blind)
#6079B2
Tritanopia (blue-blind)
#C04E75
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba3fb5;
/* rgb */ color: rgb(186, 63, 181);
/* oklch */ color: oklch(58.4% 0.206 329.5);
Tailwind
colors: {
  custom: {
    50: '#d27ecb',
    500: '#ba3fb5',
    950: '#000000',
  },
}
SCSS
$custom: #ba3fb5;
$custom-light: #d27ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3fb5",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 181
  },
  "hsl": {
    "h": 302.439,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58445,
    "c": 0.20631,
    "h": 329.5
  },
  "luminance": 0.1733
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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