#BA33C5#BA33C5

#BA33C5 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.3% C 0.233 H 324.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#BA33C5
RGBrgb(186, 51, 197)
HSLhsl(295, 59%, 49%)
HSVhsv(295, 74%, 77%)
CMYKcmyk(5.6%, 74.1%, 0%, 22.7%)
CIE-LABlab(48.06, 69.94, -48.26)
CIE-LCHlch(48.06, 84.98, 325.40°)
OKLaboklab(58.28% 0.1898 -0.1345)
OKLCHoklch(58.28% 0.233 324.7)
XYZxyz(31.5108, 16.8400, 54.4032)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA33C5 #3EC533
analogous
#7133C5 #BA33C5 #C53387
triadic
#BA33C5 #C5BA33 #33C5BA
tetradic
#BA33C5 #C57133 #3EC533 #3387C5
square
#BA33C5 #C57133 #3EC533 #3387C5
split-complementary
#BA33C5 #87C533 #33C571
monochromatic
#5E1A64 #8C2694 #BA33C5 #CD5FD6 #DC90E2

Accessibility & contrast

On white

4.81
#BA33C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA33C5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA33C5#FFFFFF#000000##FFFFFF
##BA33C51.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#5178C2
Tritanopia (blue-blind)
#BE4D7A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba33c5;
/* rgb */ color: rgb(186, 51, 197);
/* oklch */ color: oklch(58.3% 0.233 324.7);
Tailwind
colors: {
  custom: {
    50: '#d379d7',
    500: '#ba33c5',
    950: '#000000',
  },
}
SCSS
$custom: #ba33c5;
$custom-light: #d379d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba33c5",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 197
  },
  "hsl": {
    "h": 295.479,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58283,
    "c": 0.23258,
    "h": 324.7
  },
  "luminance": 0.16838
}

Semantic roles & 50–950 ramp

primary
#BA33C5
secondary
#8CCD87
accent
#E24652
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA33C5

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

Preview Lab → · Contrast checker → · Palette generator →

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