#BA3EB4#BA3EB4

#BA3EB4 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.3% C 0.207 H 329.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#BA3EB4
RGBrgb(186, 62, 180)
HSLhsl(303, 50%, 49%)
HSVhsv(303, 67%, 73%)
CMYKcmyk(0%, 66.7%, 3.2%, 27.1%)
CIE-LABlab(48.49, 63.26, -37.67)
CIE-LCHlch(48.49, 73.63, 329.22°)
OKLaboklab(58.29% 0.1788 -0.1038)
OKLCHoklch(58.29% 0.207 329.9)
XYZxyz(30.2103, 17.1818, 44.8964)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3EB4 #3EBA44
analogous
#823EBA #BA3EB4 #BA3E76
triadic
#BA3EB4 #B4BA3E #3EB4BA
tetradic
#BA3EB4 #BA823E #3EBA44 #3E76BA
square
#BA3EB4 #BA823E #3EBA44 #3E76BA
split-complementary
#BA3EB4 #76BA3E #3EBA82
monochromatic
#5E1F5B #8C2F88 #BA3EB4 #CD68C8 #DC96D9

Accessibility & contrast

On white

4.73
#BA3EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#BA3EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3EB4
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3EB4#FFFFFF#000000##FFFFFF
##BA3EB41.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3268B7
Deuteranopia (green-blind)
#6079B1
Tritanopia (blue-blind)
#C14D74
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba3eb4;
/* rgb */ color: rgb(186, 62, 180);
/* oklch */ color: oklch(58.3% 0.207 329.9);
Tailwind
colors: {
  custom: {
    50: '#d27dcb',
    500: '#ba3eb4',
    950: '#000000',
  },
}
SCSS
$custom: #ba3eb4;
$custom-light: #d27dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3eb4",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 302.903,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58293,
    "c": 0.20678,
    "h": 329.9
  },
  "luminance": 0.1718
}

Semantic roles & 50–950 ramp

primary
#BA3EB4
secondary
#8CC88F
accent
#DA554E
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA3EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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