#BA3FBE#BA3FBE

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

Color values

HEX#BA3FBE
RGBrgb(186, 63, 190)
HSLhsl(298, 50%, 50%)
HSVhsv(298, 67%, 75%)
CMYKcmyk(2.1%, 66.8%, 0%, 25.5%)
CIE-LABlab(49.15, 64.55, -42.46)
CIE-LCHlch(49.15, 77.27, 326.66°)
OKLaboklab(58.94% 0.1782 -0.1177)
OKLCHoklch(58.94% 0.214 326.6)
XYZxyz(31.3209, 17.7139, 50.4746)
Luminance0.1771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3FBE #43BE3F
analogous
#7A3FBE #BA3FBE #BE3F83
triadic
#BA3FBE #BEBA3F #3FBEBA
tetradic
#BA3FBE #BE7A3F #43BE3F #3F83BE
square
#BA3FBE #BE7A3F #43BE3F #3F83BE
split-complementary
#BA3FBE #83BE3F #3FBE7A
monochromatic
#602162 #8D3090 #BA3FBE #CB6CCE #DB9ADD

Accessibility & contrast

On white

4.62
#BA3FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#BA3FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3FBE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3FBE#FFFFFF#000000##FFFFFF
##BA3FBE1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286BC2
Deuteranopia (green-blind)
#5B7ABB
Tritanopia (blue-blind)
#BF527A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba3fbe;
/* rgb */ color: rgb(186, 63, 190);
/* oklch */ color: oklch(58.9% 0.214 326.6);
Tailwind
colors: {
  custom: {
    50: '#d27ed2',
    500: '#ba3fbe',
    950: '#000000',
  },
}
SCSS
$custom: #ba3fbe;
$custom-light: #d27ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3fbe",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 190
  },
  "hsl": {
    "h": 298.11,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58938,
    "c": 0.21353,
    "h": 326.6
  },
  "luminance": 0.17712
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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