#BB42AF#BB42AF

#BB42AF is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.6% C 0.198 H 332.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BB42AF
RGBrgb(187, 66, 175)
HSLhsl(306, 48%, 50%)
HSVhsv(306, 65%, 73%)
CMYKcmyk(0%, 64.7%, 6.4%, 26.7%)
CIE-LABlab(48.96, 61.13, -34.00)
CIE-LCHlch(48.96, 69.94, 330.92°)
OKLaboklab(58.58% 0.175 -0.0932)
OKLCHoklch(58.58% 0.198 332)
XYZxyz(30.1796, 17.5587, 42.3488)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42AF #42BB4E
analogous
#8A42BB #BB42AF #BB4273
triadic
#BB42AF #AFBB42 #42AFBB
tetradic
#BB42AF #BB8A42 #42BB4E #4273BB
square
#BB42AF #BB8A42 #42BB4E #4273BB
split-complementary
#BB42AF #73BB42 #42BB8A
monochromatic
#61225A #8E3285 #BB42AF #CC6EC3 #DC9CD6

Accessibility & contrast

On white

4.66
#BB42AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#BB42AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BB42AF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42AF#FFFFFF#000000##FFFFFF
##BB42AF1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C69B2
Deuteranopia (green-blind)
#667AAC
Tritanopia (blue-blind)
#C34D73
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bb42af;
/* rgb */ color: rgb(187, 66, 175);
/* oklch */ color: oklch(58.6% 0.198 332.0);
Tailwind
colors: {
  custom: {
    50: '#d37fc7',
    500: '#bb42af',
    950: '#000000',
  },
}
SCSS
$custom: #bb42af;
$custom-light: #d37fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42af",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 175
  },
  "hsl": {
    "h": 305.95,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58582,
    "c": 0.19828,
    "h": 332
  },
  "luminance": 0.17556
}

Semantic roles & 50–950 ramp

primary
#BB42AF
secondary
#91C896
accent
#D75E50
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #BB42AF

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

Preview Lab → · Contrast checker → · Palette generator →

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