#BB41A7#BB41A7

#BB41A7 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 58.1% C 0.194 H 334.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#BB41A7
RGBrgb(187, 65, 167)
HSLhsl(310, 48%, 49%)
HSVhsv(310, 65%, 73%)
CMYKcmyk(0%, 65.2%, 10.7%, 26.7%)
CIE-LABlab(48.43, 60.26, -30.11)
CIE-LCHlch(48.43, 67.36, 333.45°)
OKLaboklab(58.08% 0.1753 -0.0821)
OKLCHoklch(58.08% 0.194 334.9)
XYZxyz(29.3591, 17.1378, 38.3134)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB41A7 #41BB55
analogous
#9241BB #BB41A7 #BB416A
triadic
#BB41A7 #A7BB41 #41A7BB
tetradic
#BB41A7 #BB9241 #41BB55 #416ABB
square
#BB41A7 #BB9241 #41BB55 #416ABB
split-complementary
#BB41A7 #6ABB41 #41BB92
monochromatic
#602156 #8E317E #BB41A7 #CC6DBD #DC9AD1

Accessibility & contrast

On white

4.74
#BB41A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#BB41A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB41A7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB41A7#FFFFFF#000000##FFFFFF
##BB41A71.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4167AA
Deuteranopia (green-blind)
#697AA4
Tritanopia (blue-blind)
#C4496E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bb41a7;
/* rgb */ color: rgb(187, 65, 167);
/* oklch */ color: oklch(58.1% 0.194 334.9);
Tailwind
colors: {
  custom: {
    50: '#d37ec1',
    500: '#bb41a7',
    950: '#000000',
  },
}
SCSS
$custom: #bb41a7;
$custom-light: #d37ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb41a7",
  "rgb": {
    "r": 187,
    "g": 65,
    "b": 167
  },
  "hsl": {
    "h": 309.836,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58078,
    "c": 0.19352,
    "h": 334.9
  },
  "luminance": 0.17135
}

Semantic roles & 50–950 ramp

primary
#BB41A7
secondary
#90C899
accent
#D86650
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #BB41A7

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

Preview Lab → · Contrast checker → · Palette generator →

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