#BB40AD#BB40AD

#BB40AD is a mid, vivid purple. Relative luminance 0.172; OKLCH L 58.3% C 0.199 H 332.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BB40AD
RGBrgb(187, 64, 173)
HSLhsl(307, 49%, 49%)
HSVhsv(307, 66%, 73%)
CMYKcmyk(0%, 65.8%, 7.5%, 26.7%)
CIE-LABlab(48.57, 61.60, -33.42)
CIE-LCHlch(48.57, 70.08, 331.52°)
OKLaboklab(58.27% 0.1771 -0.0916)
OKLCHoklch(58.27% 0.199 332.7)
XYZxyz(29.8698, 17.2511, 41.2836)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB40AD #40BB4E
analogous
#8C40BB #BB40AD #BB4070
triadic
#BB40AD #ADBB40 #40ADBB
tetradic
#BB40AD #BB8C40 #40BB4E #4070BB
square
#BB40AD #BB8C40 #40BB4E #4070BB
split-complementary
#BB40AD #70BB40 #40BB8C
monochromatic
#602159 #8D3083 #BB40AD #CD6CC2 #DC99D5

Accessibility & contrast

On white

4.72
#BB40AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#BB40AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB40AD
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB40AD#FFFFFF#000000##FFFFFF
##BB40AD1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B68B0
Deuteranopia (green-blind)
#657AAA
Tritanopia (blue-blind)
#C34B71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bb40ad;
/* rgb */ color: rgb(187, 64, 173);
/* oklch */ color: oklch(58.3% 0.199 332.7);
Tailwind
colors: {
  custom: {
    50: '#d37ec6',
    500: '#bb40ad',
    950: '#000000',
  },
}
SCSS
$custom: #bb40ad;
$custom-light: #d37ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb40ad",
  "rgb": {
    "r": 187,
    "g": 64,
    "b": 173
  },
  "hsl": {
    "h": 306.829,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58273,
    "c": 0.19936,
    "h": 332.7
  },
  "luminance": 0.17249
}

Semantic roles & 50–950 ramp

primary
#BB40AD
secondary
#8FC895
accent
#D95F4F
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #BB40AD

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

Preview Lab → · Contrast checker → · Palette generator →

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