#BA3EB5#BA3EB5

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

Color values

HEX#BA3EB5
RGBrgb(186, 62, 181)
HSLhsl(302, 50%, 49%)
HSVhsv(302, 67%, 73%)
CMYKcmyk(0%, 66.7%, 2.7%, 27.1%)
CIE-LABlab(48.54, 63.42, -38.18)
CIE-LCHlch(48.54, 74.03, 328.95°)
OKLaboklab(58.35% 0.1789 -0.1053)
OKLCHoklch(58.35% 0.208 329.5)
XYZxyz(30.3126, 17.2227, 45.4349)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3EB5 #3EBA43
analogous
#813EBA #BA3EB5 #BA3E77
triadic
#BA3EB5 #B5BA3E #3EB5BA
tetradic
#BA3EB5 #BA813E #3EBA43 #3E77BA
square
#BA3EB5 #BA813E #3EBA43 #3E77BA
split-complementary
#BA3EB5 #77BA3E #3EBA81
monochromatic
#5E1F5C #8C2F88 #BA3EB5 #CD68C9 #DC96D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3EB5#FFFFFF#000000##FFFFFF
##BA3EB51.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)
#3169B8
Deuteranopia (green-blind)
#6079B2
Tritanopia (blue-blind)
#C04D74
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba3eb5;
/* rgb */ color: rgb(186, 62, 181);
/* oklch */ color: oklch(58.3% 0.208 329.5);
Tailwind
colors: {
  custom: {
    50: '#d27dcb',
    500: '#ba3eb5',
    950: '#000000',
  },
}
SCSS
$custom: #ba3eb5;
$custom-light: #d27dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3eb5",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 302.419,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58346,
    "c": 0.20756,
    "h": 329.5
  },
  "luminance": 0.17221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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