#BB41AB#BB41AB

#BB41AB is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.3% C 0.197 H 333.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#BB41AB
RGBrgb(187, 65, 171)
HSLhsl(308, 48%, 49%)
HSVhsv(308, 65%, 73%)
CMYKcmyk(0%, 65.2%, 8.6%, 26.7%)
CIE-LABlab(48.62, 60.89, -32.17)
CIE-LCHlch(48.62, 68.86, 332.15°)
OKLaboklab(58.28% 0.1757 -0.088)
OKLCHoklch(58.28% 0.197 333.4)
XYZxyz(29.7346, 17.2880, 40.2910)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB41AB #41BB51
analogous
#8E41BB #BB41AB #BB416E
triadic
#BB41AB #ABBB41 #41ABBB
tetradic
#BB41AB #BB8E41 #41BB51 #416EBB
square
#BB41AB #BB8E41 #41BB51 #416EBB
split-complementary
#BB41AB #6EBB41 #41BB8E
monochromatic
#602158 #8E3181 #BB41AB #CC6DC0 #DC9AD3

Accessibility & contrast

On white

4.71
#BB41AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#BB41AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB41AB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB41AB#FFFFFF#000000##FFFFFF
##BB41AB1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E68AE
Deuteranopia (green-blind)
#677AA8
Tritanopia (blue-blind)
#C34B70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bb41ab;
/* rgb */ color: rgb(187, 65, 171);
/* oklch */ color: oklch(58.3% 0.197 333.4);
Tailwind
colors: {
  custom: {
    50: '#d37ec4',
    500: '#bb41ab',
    950: '#000000',
  },
}
SCSS
$custom: #bb41ab;
$custom-light: #d37ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb41ab",
  "rgb": {
    "r": 187,
    "g": 65,
    "b": 171
  },
  "hsl": {
    "h": 307.869,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58276,
    "c": 0.19653,
    "h": 333.4
  },
  "luminance": 0.17286
}

Semantic roles & 50–950 ramp

primary
#BB41AB
secondary
#90C897
accent
#D86250
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #BB41AB

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

Preview Lab → · Contrast checker → · Palette generator →

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