#BA3EB0#BA3EB0

#BA3EB0 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.1% C 0.204 H 331.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#BA3EB0
RGBrgb(186, 62, 176)
HSLhsl(305, 50%, 49%)
HSVhsv(305, 67%, 73%)
CMYKcmyk(0%, 66.7%, 5.4%, 27.1%)
CIE-LABlab(48.29, 62.61, -35.65)
CIE-LCHlch(48.29, 72.05, 330.35°)
OKLaboklab(58.08% 0.1786 -0.098)
OKLCHoklch(58.08% 0.204 331.3)
XYZxyz(29.8087, 17.0212, 42.7813)
Luminance0.1702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3EB0 #3EBA48
analogous
#863EBA #BA3EB0 #BA3E72
triadic
#BA3EB0 #B0BA3E #3EB0BA
tetradic
#BA3EB0 #BA863E #3EBA48 #3E72BA
square
#BA3EB0 #BA863E #3EBA48 #3E72BA
split-complementary
#BA3EB0 #72BA3E #3EBA86
monochromatic
#5E1F59 #8C2F85 #BA3EB0 #CD68C5 #DC96D6

Accessibility & contrast

On white

4.77
#BA3EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#BA3EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3EB0
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3EB0#FFFFFF#000000##FFFFFF
##BA3EB01.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3668B3
Deuteranopia (green-blind)
#6279AD
Tritanopia (blue-blind)
#C14B72
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba3eb0;
/* rgb */ color: rgb(186, 62, 176);
/* oklch */ color: oklch(58.1% 0.204 331.3);
Tailwind
colors: {
  custom: {
    50: '#d27dc8',
    500: '#ba3eb0',
    950: '#000000',
  },
}
SCSS
$custom: #ba3eb0;
$custom-light: #d27dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3eb0",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 176
  },
  "hsl": {
    "h": 304.839,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58082,
    "c": 0.20367,
    "h": 331.3
  },
  "luminance": 0.17019
}

Semantic roles & 50–950 ramp

primary
#BA3EB0
secondary
#8CC891
accent
#DA5A4E
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140A13
muted
#837C82

Preview Lab

Preview with #BA3EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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