#BA3FBD#BA3FBD

#BA3FBD is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.9% C 0.213 H 326.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BA3FBD
RGBrgb(186, 63, 189)
HSLhsl(299, 50%, 49%)
HSVhsv(299, 67%, 74%)
CMYKcmyk(1.6%, 66.7%, 0%, 25.9%)
CIE-LABlab(49.09, 64.38, -41.97)
CIE-LCHlch(49.09, 76.85, 326.90°)
OKLaboklab(58.88% 0.1782 -0.1162)
OKLCHoklch(58.88% 0.213 326.9)
XYZxyz(31.2120, 17.6703, 49.9010)
Luminance0.1767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3FBD #42BD3F
analogous
#7B3FBD #BA3FBD #BD3F81
triadic
#BA3FBD #BDBA3F #3FBDBA
tetradic
#BA3FBD #BD7B3F #42BD3F #3F81BD
square
#BA3FBD #BD7B3F #42BD3F #3F81BD
split-complementary
#BA3FBD #81BD3F #3FBD7B
monochromatic
#602061 #8D308F #BA3FBD #CB6BCE #DB99DD

Accessibility & contrast

On white

4.63
#BA3FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#BA3FBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3FBD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3FBD#FFFFFF#000000##FFFFFF
##BA3FBD1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6BC1
Deuteranopia (green-blind)
#5C7ABA
Tritanopia (blue-blind)
#BF5179
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba3fbd;
/* rgb */ color: rgb(186, 63, 189);
/* oklch */ color: oklch(58.9% 0.213 326.9);
Tailwind
colors: {
  custom: {
    50: '#d27ed1',
    500: '#ba3fbd',
    950: '#000000',
  },
}
SCSS
$custom: #ba3fbd;
$custom-light: #d27ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3fbd",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 189
  },
  "hsl": {
    "h": 298.571,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58882,
    "c": 0.21272,
    "h": 326.9
  },
  "luminance": 0.17668
}

Semantic roles & 50–950 ramp

primary
#BA3FBD
secondary
#90C98F
accent
#DA4E52
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BA3FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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