#BA33C4#BA33C4

#BA33C4 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.2% C 0.232 H 325.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#BA33C4
RGBrgb(186, 51, 196)
HSLhsl(296, 59%, 48%)
HSVhsv(296, 74%, 77%)
CMYKcmyk(5.1%, 74%, 0%, 23.1%)
CIE-LABlab(48.00, 69.77, -47.77)
CIE-LCHlch(48.00, 84.56, 325.60°)
OKLaboklab(58.22% 0.1898 -0.133)
OKLCHoklch(58.22% 0.232 325)
XYZxyz(31.3966, 16.7943, 53.8018)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA33C4 #3DC433
analogous
#7133C4 #BA33C4 #C43385
triadic
#BA33C4 #C4BA33 #33C4BA
tetradic
#BA33C4 #C47133 #3DC433 #3385C4
square
#BA33C4 #C47133 #3DC433 #3385C4
split-complementary
#BA33C4 #85C433 #33C471
monochromatic
#5E1A63 #8C2693 #BA33C4 #CD5FD5 #DC8FE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA33C4#FFFFFF#000000##FFFFFF
##BA33C41.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)
#0067C8
Deuteranopia (green-blind)
#5177C1
Tritanopia (blue-blind)
#BE4D7A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba33c4;
/* rgb */ color: rgb(186, 51, 196);
/* oklch */ color: oklch(58.2% 0.232 325.0);
Tailwind
colors: {
  custom: {
    50: '#d379d6',
    500: '#ba33c4',
    950: '#000000',
  },
}
SCSS
$custom: #ba33c4;
$custom-light: #d379d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba33c4",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 196
  },
  "hsl": {
    "h": 295.862,
    "s": 58.704,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58223,
    "c": 0.2318,
    "h": 325
  },
  "luminance": 0.16792
}

Semantic roles & 50–950 ramp

primary
#BA33C4
secondary
#8BCD86
accent
#E24651
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA33C4

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

Preview Lab → · Contrast checker → · Palette generator →

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