#BB42C3#BB42C3

#BB42C3 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.7% C 0.214 H 325.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BB42C3
RGBrgb(187, 66, 195)
HSLhsl(296, 52%, 51%)
HSVhsv(296, 66%, 76%)
CMYKcmyk(4.1%, 66.2%, 0%, 23.5%)
CIE-LABlab(49.98, 64.48, -44.03)
CIE-LCHlch(49.98, 78.08, 325.67°)
OKLaboklab(59.66% 0.1762 -0.1222)
OKLCHoklch(59.66% 0.214 325.2)
XYZxyz(32.2913, 18.4034, 53.4705)
Luminance0.1840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42C3 #4AC342
analogous
#7A42C3 #BB42C3 #C3428A
triadic
#BB42C3 #C3BB42 #42C3BB
tetradic
#BB42C3 #C37A42 #4AC342 #428AC3
square
#BB42C3 #C37A42 #4AC342 #428AC3
split-complementary
#BB42C3 #8AC342 #42C37A
monochromatic
#652169 #913098 #BB42C3 #CC70D2 #DC9FE0

Accessibility & contrast

On white

4.49
#BB42C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#BB42C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB42C3
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42C3#FFFFFF#000000##000000
##BB42C31.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#286DC7
Deuteranopia (green-blind)
#5B7CC0
Tritanopia (blue-blind)
#BF567D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bb42c3;
/* rgb */ color: rgb(187, 66, 195);
/* oklch */ color: oklch(59.7% 0.214 325.2);
Tailwind
colors: {
  custom: {
    50: '#d380d6',
    500: '#bb42c3',
    950: '#000000',
  },
}
SCSS
$custom: #bb42c3;
$custom-light: #d380d6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42c3",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 195
  },
  "hsl": {
    "h": 296.279,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59656,
    "c": 0.2144,
    "h": 325.2
  },
  "luminance": 0.18401
}

Semantic roles & 50–950 ramp

primary
#BB42C3
secondary
#97CD94
accent
#DB4D55
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BB42C3

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

Preview Lab → · Contrast checker → · Palette generator →

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