#BB42AA#BB42AA

#BB42AA is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.3% C 0.194 H 333.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BB42AA
RGBrgb(187, 66, 170)
HSLhsl(308, 48%, 50%)
HSVhsv(308, 65%, 73%)
CMYKcmyk(0%, 64.7%, 9.1%, 26.7%)
CIE-LABlab(48.72, 60.33, -31.43)
CIE-LCHlch(48.72, 68.03, 332.48°)
OKLaboklab(58.33% 0.1745 -0.0859)
OKLCHoklch(58.33% 0.194 333.8)
XYZxyz(29.6976, 17.3659, 39.8102)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42AA #42BB53
analogous
#9042BB #BB42AA #BB426D
triadic
#BB42AA #AABB42 #42AABB
tetradic
#BB42AA #BB9042 #42BB53 #426DBB
square
#BB42AA #BB9042 #42BB53 #426DBB
split-complementary
#BB42AA #6DBB42 #42BB90
monochromatic
#612258 #8E3281 #BB42AA #CC6EBF #DC9CD3

Accessibility & contrast

On white

4.70
#BB42AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#BB42AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB42AA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42AA#FFFFFF#000000##FFFFFF
##BB42AA1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4068AD
Deuteranopia (green-blind)
#687AA7
Tritanopia (blue-blind)
#C34B70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bb42aa;
/* rgb */ color: rgb(187, 66, 170);
/* oklch */ color: oklch(58.3% 0.194 333.8);
Tailwind
colors: {
  custom: {
    50: '#d37fc3',
    500: '#bb42aa',
    950: '#000000',
  },
}
SCSS
$custom: #bb42aa;
$custom-light: #d37fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42aa",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 170
  },
  "hsl": {
    "h": 308.43,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58331,
    "c": 0.19443,
    "h": 333.8
  },
  "luminance": 0.17364
}

Semantic roles & 50–950 ramp

primary
#BB42AA
secondary
#91C899
accent
#D76350
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #BB42AA

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

Preview Lab → · Contrast checker → · Palette generator →

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