#BA33BD#BA33BD

#BA33BD is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.8% C 0.226 H 327.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BA33BD
RGBrgb(186, 51, 189)
HSLhsl(299, 58%, 47%)
HSVhsv(299, 73%, 74%)
CMYKcmyk(1.6%, 73%, 0%, 25.9%)
CIE-LABlab(47.60, 68.61, -44.34)
CIE-LCHlch(47.60, 81.69, 327.13°)
OKLaboklab(57.81% 0.19 -0.123)
OKLCHoklch(57.81% 0.226 327.1)
XYZxyz(30.6183, 16.4830, 49.7031)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA33BD #36BD33
analogous
#7533BD #BA33BD #BD337B
triadic
#BA33BD #BDBA33 #33BDBA
tetradic
#BA33BD #BD7533 #36BD33 #337BBD
square
#BA33BD #BD7533 #36BD33 #337BBD
split-complementary
#BA33BD #7BBD33 #33BD75
monochromatic
#5B195D #8B268D #BA33BD #D05BD3 #DE8BE0

Accessibility & contrast

On white

4.89
#BA33BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#BA33BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA33BD
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA33BD#FFFFFF#000000##FFFFFF
##BA33BD1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1066C1
Deuteranopia (green-blind)
#5677BA
Tritanopia (blue-blind)
#BF4976
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba33bd;
/* rgb */ color: rgb(186, 51, 189);
/* oklch */ color: oklch(57.8% 0.226 327.1);
Tailwind
colors: {
  custom: {
    50: '#d379d1',
    500: '#ba33bd',
    950: '#000000',
  },
}
SCSS
$custom: #ba33bd;
$custom-light: #d379d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba33bd",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 189
  },
  "hsl": {
    "h": 298.696,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57811,
    "c": 0.22638,
    "h": 327.1
  },
  "luminance": 0.16481
}

Semantic roles & 50–950 ramp

primary
#BA33BD
secondary
#84CA82
accent
#E1474A
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BA33BD

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

Preview Lab → · Contrast checker → · Palette generator →

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