#BA3EBC#BA3EBC

#BA3EBC is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.7% C 0.213 H 327.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BA3EBC
RGBrgb(186, 62, 188)
HSLhsl(299, 50%, 49%)
HSVhsv(299, 67%, 74%)
CMYKcmyk(1.1%, 67%, 0%, 26.3%)
CIE-LABlab(48.91, 64.59, -41.68)
CIE-LCHlch(48.91, 76.87, 327.16°)
OKLaboklab(58.73% 0.1792 -0.1154)
OKLCHoklch(58.73% 0.213 327.2)
XYZxyz(31.0489, 17.5173, 49.3130)
Luminance0.1752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3EBC #40BC3E
analogous
#7B3EBC #BA3EBC #BC3E7F
triadic
#BA3EBC #BCBA3E #3EBCBA
tetradic
#BA3EBC #BC7B3E #40BC3E #3E7FBC
square
#BA3EBC #BC7B3E #40BC3E #3E7FBC
split-complementary
#BA3EBC #7FBC3E #3EBC7B
monochromatic
#5F2060 #8C2F8E #BA3EBC #CC6ACE #DC98DD

Accessibility & contrast

On white

4.66
#BA3EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#BA3EBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3EBC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3EBC#FFFFFF#000000##FFFFFF
##BA3EBC1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296AC0
Deuteranopia (green-blind)
#5C7AB9
Tritanopia (blue-blind)
#BF5078
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba3ebc;
/* rgb */ color: rgb(186, 62, 188);
/* oklch */ color: oklch(58.7% 0.213 327.2);
Tailwind
colors: {
  custom: {
    50: '#d27dd0',
    500: '#ba3ebc',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ebc;
$custom-light: #d27dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ebc",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 188
  },
  "hsl": {
    "h": 299.048,
    "s": 50.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58729,
    "c": 0.21315,
    "h": 327.2
  },
  "luminance": 0.17515
}

Semantic roles & 50–950 ramp

primary
#BA3EBC
secondary
#8EC98D
accent
#DA4E50
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BA3EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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