#BA37BE#BA37BE

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

Color values

HEX#BA37BE
RGBrgb(186, 55, 190)
HSLhsl(298, 55%, 48%)
HSVhsv(298, 71%, 75%)
CMYKcmyk(2.1%, 71.1%, 0%, 25.5%)
CIE-LABlab(48.12, 67.45, -44.09)
CIE-LCHlch(48.12, 80.58, 326.83°)
OKLaboklab(58.2% 0.1863 -0.1223)
OKLCHoklch(58.2% 0.223 326.7)
XYZxyz(30.9096, 16.8913, 50.3375)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA37BE #3BBE37
analogous
#7637BE #BA37BE #BE377E
triadic
#BA37BE #BEBA37 #37BEBA
tetradic
#BA37BE #BE7637 #3BBE37 #377EBE
square
#BA37BE #BE7637 #3BBE37 #377EBE
split-complementary
#BA37BE #7EBE37 #37BE76
monochromatic
#5D1C5F #8C298F #BA37BE #CE61D1 #DD90DF

Accessibility & contrast

On white

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

On black

4.38
#BA37BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA37BE#FFFFFF#000000##FFFFFF
##BA37BE1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1968C2
Deuteranopia (green-blind)
#5778BB
Tritanopia (blue-blind)
#BF4C77
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba37be;
/* rgb */ color: rgb(186, 55, 190);
/* oklch */ color: oklch(58.2% 0.223 326.7);
Tailwind
colors: {
  custom: {
    50: '#d27ad2',
    500: '#ba37be',
    950: '#000000',
  },
}
SCSS
$custom: #ba37be;
$custom-light: #d27ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba37be",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 298.222,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58202,
    "c": 0.22288,
    "h": 326.7
  },
  "luminance": 0.16889
}

Semantic roles & 50–950 ramp

primary
#BA37BE
secondary
#89CA87
accent
#DE494E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BA37BE

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

Preview Lab → · Contrast checker → · Palette generator →

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