#BB41A8#BB41A8

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

Color values

HEX#BB41A8
RGBrgb(187, 65, 168)
HSLhsl(309, 48%, 49%)
HSVhsv(309, 65%, 73%)
CMYKcmyk(0%, 65.2%, 10.2%, 26.7%)
CIE-LABlab(48.48, 60.42, -30.62)
CIE-LCHlch(48.48, 67.73, 333.12°)
OKLaboklab(58.13% 0.1754 -0.0835)
OKLCHoklch(58.13% 0.194 334.5)
XYZxyz(29.4519, 17.1749, 38.8021)
Luminance0.1717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB41A8 #41BB54
analogous
#9141BB #BB41A8 #BB416B
triadic
#BB41A8 #A8BB41 #41A8BB
tetradic
#BB41A8 #BB9141 #41BB54 #416BBB
square
#BB41A8 #BB9141 #41BB54 #416BBB
split-complementary
#BB41A8 #6BBB41 #41BB91
monochromatic
#602156 #8E317F #BB41A8 #CC6DBD #DC9AD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB41A8#FFFFFF#000000##FFFFFF
##BB41A81.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)
#4068AB
Deuteranopia (green-blind)
#687AA5
Tritanopia (blue-blind)
#C44A6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bb41a8;
/* rgb */ color: rgb(187, 65, 168);
/* oklch */ color: oklch(58.1% 0.194 334.5);
Tailwind
colors: {
  custom: {
    50: '#d37ec2',
    500: '#bb41a8',
    950: '#000000',
  },
}
SCSS
$custom: #bb41a8;
$custom-light: #d37ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb41a8",
  "rgb": {
    "r": 187,
    "g": 65,
    "b": 168
  },
  "hsl": {
    "h": 309.344,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58127,
    "c": 0.19427,
    "h": 334.5
  },
  "luminance": 0.17173
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB41A8

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

Preview Lab → · Contrast checker → · Palette generator →

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