#BB35A6#BB35A6

#BB35A6 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.9% C 0.208 H 335.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BB35A6
RGBrgb(187, 53, 166)
HSLhsl(309, 56%, 47%)
HSVhsv(309, 72%, 73%)
CMYKcmyk(0%, 71.7%, 11.2%, 26.7%)
CIE-LABlab(46.80, 64.56, -32.07)
CIE-LCHlch(46.80, 72.09, 333.58°)
OKLaboklab(56.88% 0.1883 -0.0876)
OKLCHoklch(56.88% 0.208 335.1)
XYZxyz(28.6499, 15.8667, 37.6227)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB35A6 #35BB4A
analogous
#8D35BB #BB35A6 #BB3563
triadic
#BB35A6 #A6BB35 #35A6BB
tetradic
#BB35A6 #BB8D35 #35BB4A #3563BB
square
#BB35A6 #BB8D35 #35BB4A #3563BB
split-complementary
#BB35A6 #63BB35 #35BB8D
monochromatic
#5C1A51 #8B277C #BB35A6 #D15CBF #DE8CD1

Accessibility & contrast

On white

5.03
#BB35A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#BB35A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB35A6
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB35A6#FFFFFF#000000##FFFFFF
##BB35A61.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3562A9
Deuteranopia (green-blind)
#6476A3
Tritanopia (blue-blind)
#C43F6A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb35a6;
/* rgb */ color: rgb(187, 53, 166);
/* oklch */ color: oklch(56.9% 0.208 335.1);
Tailwind
colors: {
  custom: {
    50: '#d379c1',
    500: '#bb35a6',
    950: '#000000',
  },
}
SCSS
$custom: #bb35a6;
$custom-light: #d379c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb35a6",
  "rgb": {
    "r": 187,
    "g": 53,
    "b": 166
  },
  "hsl": {
    "h": 309.403,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56878,
    "c": 0.20765,
    "h": 335.1
  },
  "luminance": 0.15864
}

Semantic roles & 50–950 ramp

primary
#BB35A6
secondary
#83C98E
accent
#DF6049
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB35A6

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

Preview Lab → · Contrast checker → · Palette generator →

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