#BB36C2#BB36C2

#BB36C2 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.5% C 0.228 H 325.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BB36C2
RGBrgb(187, 54, 194)
HSLhsl(297, 56%, 49%)
HSVhsv(297, 72%, 76%)
CMYKcmyk(3.6%, 72.2%, 0%, 23.9%)
CIE-LABlab(48.39, 68.67, -45.99)
CIE-LCHlch(48.39, 82.64, 326.19°)
OKLaboklab(58.49% 0.1883 -0.1278)
OKLCHoklch(58.49% 0.228 325.8)
XYZxyz(31.5496, 17.1003, 52.6674)
Luminance0.1710 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB36C2 #3DC236
analogous
#7536C2 #BB36C2 #C23683
triadic
#BB36C2 #C2BB36 #36C2BB
tetradic
#BB36C2 #C27536 #3DC236 #3683C2
square
#BB36C2 #C27536 #3DC236 #3683C2
split-complementary
#BB36C2 #83C236 #36C275
monochromatic
#5F1B62 #8D2992 #BB36C2 #CE62D3 #DD92E1

Accessibility & contrast

On white

4.75
#BB36C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#BB36C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB36C2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB36C2#FFFFFF#000000##FFFFFF
##BB36C21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D68C6
Deuteranopia (green-blind)
#5579BF
Tritanopia (blue-blind)
#C04D79
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bb36c2;
/* rgb */ color: rgb(187, 54, 194);
/* oklch */ color: oklch(58.5% 0.228 325.8);
Tailwind
colors: {
  custom: {
    50: '#d37ad5',
    500: '#bb36c2',
    950: '#000000',
  },
}
SCSS
$custom: #bb36c2;
$custom-light: #d37ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb36c2",
  "rgb": {
    "r": 187,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 297,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58493,
    "c": 0.22756,
    "h": 325.8
  },
  "luminance": 0.17098
}

Semantic roles & 50–950 ramp

primary
#BB36C2
secondary
#8CCC88
accent
#E04850
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BB36C2

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

Preview Lab → · Contrast checker → · Palette generator →

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