#BA3EBD#BA3EBD

#BA3EBD is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.8% C 0.214 H 326.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#BA3EBD
RGBrgb(186, 62, 189)
HSLhsl(299, 51%, 49%)
HSVhsv(299, 67%, 74%)
CMYKcmyk(1.6%, 67.2%, 0%, 25.9%)
CIE-LABlab(48.96, 64.76, -42.18)
CIE-LCHlch(48.96, 77.29, 326.92°)
OKLaboklab(58.79% 0.1792 -0.1169)
OKLCHoklch(58.79% 0.214 326.9)
XYZxyz(31.1571, 17.5606, 49.8827)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3EBD #41BD3E
analogous
#7B3EBD #BA3EBD #BD3E81
triadic
#BA3EBD #BDBA3E #3EBDBA
tetradic
#BA3EBD #BD7B3E #41BD3E #3E81BD
square
#BA3EBD #BD7B3E #41BD3E #3E81BD
split-complementary
#BA3EBD #81BD3E #3EBD7B
monochromatic
#5F2061 #8D2F8F #BA3EBD #CC6ACE #DC98DD

Accessibility & contrast

On white

4.65
#BA3EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#BA3EBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3EBD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3EBD#FFFFFF#000000##FFFFFF
##BA3EBD1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286AC1
Deuteranopia (green-blind)
#5B7ABA
Tritanopia (blue-blind)
#BF5179
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba3ebd;
/* rgb */ color: rgb(186, 62, 189);
/* oklch */ color: oklch(58.8% 0.214 326.9);
Tailwind
colors: {
  custom: {
    50: '#d27dd1',
    500: '#ba3ebd',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ebd;
$custom-light: #d27dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ebd",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 189
  },
  "hsl": {
    "h": 298.583,
    "s": 50.598,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58785,
    "c": 0.21395,
    "h": 326.9
  },
  "luminance": 0.17558
}

Semantic roles & 50–950 ramp

primary
#BA3EBD
secondary
#8FC98E
accent
#DA4E51
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BA3EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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