#BB35A8#BB35A8

#BB35A8 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.0% C 0.209 H 334.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#BB35A8
RGBrgb(187, 53, 168)
HSLhsl(309, 56%, 47%)
HSVhsv(309, 72%, 73%)
CMYKcmyk(0%, 71.7%, 10.2%, 26.7%)
CIE-LABlab(46.90, 64.86, -33.10)
CIE-LCHlch(46.90, 72.82, 332.96°)
OKLaboklab(56.98% 0.1885 -0.0905)
OKLCHoklch(56.98% 0.209 334.3)
XYZxyz(28.8348, 15.9406, 38.5964)
Luminance0.1594 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB35A8 #35BB48
analogous
#8B35BB #BB35A8 #BB3565
triadic
#BB35A8 #A8BB35 #35A8BB
tetradic
#BB35A8 #BB8B35 #35BB48 #3565BB
square
#BB35A8 #BB8B35 #35BB48 #3565BB
split-complementary
#BB35A8 #65BB35 #35BB8B
monochromatic
#5C1A52 #8B277D #BB35A8 #D15CC0 #DE8CD3

Accessibility & contrast

On white

5.01
#BB35A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#BB35A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB35A8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB35A8#FFFFFF#000000##FFFFFF
##BB35A81.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3363AB
Deuteranopia (green-blind)
#6376A5
Tritanopia (blue-blind)
#C4406B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb35a8;
/* rgb */ color: rgb(187, 53, 168);
/* oklch */ color: oklch(57.0% 0.209 334.3);
Tailwind
colors: {
  custom: {
    50: '#d379c2',
    500: '#bb35a8',
    950: '#000000',
  },
}
SCSS
$custom: #bb35a8;
$custom-light: #d379c2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb35a8",
  "rgb": {
    "r": 187,
    "g": 53,
    "b": 168
  },
  "hsl": {
    "h": 308.507,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5698,
    "c": 0.20908,
    "h": 334.3
  },
  "luminance": 0.15938
}

Semantic roles & 50–950 ramp

primary
#BB35A8
secondary
#83C98D
accent
#DF5E49
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB35A8

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

Preview Lab → · Contrast checker → · Palette generator →

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