#BB40AE#BB40AE

#BB40AE is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.3% C 0.200 H 332.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#BB40AE
RGBrgb(187, 64, 174)
HSLhsl(306, 49%, 49%)
HSVhsv(306, 66%, 73%)
CMYKcmyk(0%, 65.8%, 7%, 26.7%)
CIE-LABlab(48.62, 61.76, -33.93)
CIE-LCHlch(48.62, 70.47, 331.21°)
OKLaboklab(58.32% 0.1772 -0.093)
OKLCHoklch(58.32% 0.2 332.3)
XYZxyz(29.9669, 17.2899, 41.7952)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB40AE #40BB4D
analogous
#8A40BB #BB40AE #BB4071
triadic
#BB40AE #AEBB40 #40AEBB
tetradic
#BB40AE #BB8A40 #40BB4D #4071BB
square
#BB40AE #BB8A40 #40BB4D #4071BB
split-complementary
#BB40AE #71BB40 #40BB8A
monochromatic
#602159 #8D3084 #BB40AE #CD6CC2 #DC99D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB40AE#FFFFFF#000000##FFFFFF
##BB40AE1.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)
#3A68B1
Deuteranopia (green-blind)
#657AAB
Tritanopia (blue-blind)
#C34B71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bb40ae;
/* rgb */ color: rgb(187, 64, 174);
/* oklch */ color: oklch(58.3% 0.200 332.3);
Tailwind
colors: {
  custom: {
    50: '#d37ec6',
    500: '#bb40ae',
    950: '#000000',
  },
}
SCSS
$custom: #bb40ae;
$custom-light: #d37ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb40ae",
  "rgb": {
    "r": 187,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 306.341,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58324,
    "c": 0.20013,
    "h": 332.3
  },
  "luminance": 0.17288
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB40AE

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

Preview Lab → · Contrast checker → · Palette generator →

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