#BB42BD#BB42BD

#BB42BD is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.3% C 0.209 H 327.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BB42BD
RGBrgb(187, 66, 189)
HSLhsl(299, 48%, 50%)
HSVhsv(299, 65%, 74%)
CMYKcmyk(1.1%, 65.1%, 0%, 25.9%)
CIE-LABlab(49.66, 63.45, -41.06)
CIE-LCHlch(49.66, 75.58, 327.09°)
OKLaboklab(59.32% 0.176 -0.1136)
OKLCHoklch(59.32% 0.209 327.2)
XYZxyz(31.6265, 18.1374, 49.9693)
Luminance0.1814 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42BD #44BD42
analogous
#7D42BD #BB42BD #BD4282
triadic
#BB42BD #BDBB42 #42BDBB
tetradic
#BB42BD #BD7D42 #44BD42 #4282BD
square
#BB42BD #BD7D42 #44BD42 #4282BD
split-complementary
#BB42BD #82BD42 #42BD7D
monochromatic
#612262 #8E3290 #BB42BD #CB6FCD #DC9DDD

Accessibility & contrast

On white

4.54
#BB42BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#BB42BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB42BD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42BD#FFFFFF#000000##000000
##BB42BD1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F6CC1
Deuteranopia (green-blind)
#5F7CBA
Tritanopia (blue-blind)
#C0537A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bb42bd;
/* rgb */ color: rgb(187, 66, 189);
/* oklch */ color: oklch(59.3% 0.209 327.2);
Tailwind
colors: {
  custom: {
    50: '#d380d1',
    500: '#bb42bd',
    950: '#000000',
  },
}
SCSS
$custom: #bb42bd;
$custom-light: #d380d1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42bd",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 299.024,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.59322,
    "c": 0.20945,
    "h": 327.2
  },
  "luminance": 0.18135
}

Semantic roles & 50–950 ramp

primary
#BB42BD
secondary
#93C992
accent
#D85052
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BB42BD

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

Preview Lab → · Contrast checker → · Palette generator →

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