#BA3EAC#BA3EAC

#BA3EAC is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 57.9% C 0.201 H 332.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#BA3EAC
RGBrgb(186, 62, 172)
HSLhsl(307, 50%, 49%)
HSVhsv(307, 67%, 73%)
CMYKcmyk(0%, 66.7%, 7.5%, 27.1%)
CIE-LABlab(48.09, 61.97, -33.60)
CIE-LCHlch(48.09, 70.50, 331.53°)
OKLaboklab(57.88% 0.1782 -0.0921)
OKLCHoklch(57.88% 0.201 332.7)
XYZxyz(29.4188, 16.8652, 40.7276)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3EAC #3EBA4C
analogous
#8A3EBA #BA3EAC #BA3E6E
triadic
#BA3EAC #ACBA3E #3EACBA
tetradic
#BA3EAC #BA8A3E #3EBA4C #3E6EBA
square
#BA3EAC #BA8A3E #3EBA4C #3E6EBA
split-complementary
#BA3EAC #6EBA3E #3EBA8A
monochromatic
#5E1F57 #8C2F82 #BA3EAC #CD68C1 #DC96D4

Accessibility & contrast

On white

4.80
#BA3EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#BA3EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3EAC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3EAC#FFFFFF#000000##FFFFFF
##BA3EAC1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3967AF
Deuteranopia (green-blind)
#6478A9
Tritanopia (blue-blind)
#C24970
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba3eac;
/* rgb */ color: rgb(186, 62, 172);
/* oklch */ color: oklch(57.9% 0.201 332.7);
Tailwind
colors: {
  custom: {
    50: '#d27dc5',
    500: '#ba3eac',
    950: '#000000',
  },
}
SCSS
$custom: #ba3eac;
$custom-light: #d27dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3eac",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 306.774,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57875,
    "c": 0.2006,
    "h": 332.7
  },
  "luminance": 0.16863
}

Semantic roles & 50–950 ramp

primary
#BA3EAC
secondary
#8CC893
accent
#DA5E4E
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140A13
muted
#837C82

Preview Lab

Preview with #BA3EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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