#BA3EAA#BA3EAA

#BA3EAA is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.8% C 0.199 H 333.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#BA3EAA
RGBrgb(186, 62, 170)
HSLhsl(308, 50%, 49%)
HSVhsv(308, 67%, 73%)
CMYKcmyk(0%, 66.7%, 8.6%, 27.1%)
CIE-LABlab(47.99, 61.66, -32.58)
CIE-LCHlch(47.99, 69.73, 332.15°)
OKLaboklab(57.77% 0.178 -0.0891)
OKLCHoklch(57.77% 0.199 333.4)
XYZxyz(29.2282, 16.7890, 39.7236)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3EAA #3EBA4E
analogous
#8C3EBA #BA3EAA #BA3E6C
triadic
#BA3EAA #AABA3E #3EAABA
tetradic
#BA3EAA #BA8C3E #3EBA4E #3E6CBA
square
#BA3EAA #BA8C3E #3EBA4E #3E6CBA
split-complementary
#BA3EAA #6CBA3E #3EBA8C
monochromatic
#5E1F56 #8C2F80 #BA3EAA #CD68C0 #DC96D3

Accessibility & contrast

On white

4.82
#BA3EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#BA3EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3EAA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3EAA#FFFFFF#000000##FFFFFF
##BA3EAA1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B66AD
Deuteranopia (green-blind)
#6578A7
Tritanopia (blue-blind)
#C2486F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba3eaa;
/* rgb */ color: rgb(186, 62, 170);
/* oklch */ color: oklch(57.8% 0.199 333.4);
Tailwind
colors: {
  custom: {
    50: '#d27dc3',
    500: '#ba3eaa',
    950: '#000000',
  },
}
SCSS
$custom: #ba3eaa;
$custom-light: #d27dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3eaa",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 170
  },
  "hsl": {
    "h": 307.742,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57773,
    "c": 0.19909,
    "h": 333.4
  },
  "luminance": 0.16787
}

Semantic roles & 50–950 ramp

primary
#BA3EAA
secondary
#8CC894
accent
#DA604E
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140A12
muted
#837C81

Preview Lab

Preview with #BA3EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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