#BB42C1#BB42C1

#BB42C1 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.5% C 0.213 H 325.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BB42C1
RGBrgb(187, 66, 193)
HSLhsl(297, 51%, 51%)
HSVhsv(297, 66%, 76%)
CMYKcmyk(3.1%, 65.8%, 0%, 24.3%)
CIE-LABlab(49.87, 64.14, -43.04)
CIE-LCHlch(49.87, 77.24, 326.13°)
OKLaboklab(59.54% 0.1761 -0.1194)
OKLCHoklch(59.54% 0.213 325.9)
XYZxyz(32.0667, 18.3135, 52.2876)
Luminance0.1831 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42C1 #48C142
analogous
#7B42C1 #BB42C1 #C14288
triadic
#BB42C1 #C1BB42 #42C1BB
tetradic
#BB42C1 #C17B42 #48C142 #4288C1
square
#BB42C1 #C17B42 #48C142 #4288C1
split-complementary
#BB42C1 #88C142 #42C17B
monochromatic
#642267 #903195 #BB42C1 #CC70D0 #DC9EDF

Accessibility & contrast

On white

4.50
#BB42C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#BB42C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB42C1
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42C1#FFFFFF#000000##000000
##BB42C11.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B6DC5
Deuteranopia (green-blind)
#5C7CBE
Tritanopia (blue-blind)
#C0557C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bb42c1;
/* rgb */ color: rgb(187, 66, 193);
/* oklch */ color: oklch(59.5% 0.213 325.9);
Tailwind
colors: {
  custom: {
    50: '#d380d4',
    500: '#bb42c1',
    950: '#000000',
  },
}
SCSS
$custom: #bb42c1;
$custom-light: #d380d4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42c1",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 193
  },
  "hsl": {
    "h": 297.165,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59544,
    "c": 0.21274,
    "h": 325.9
  },
  "luminance": 0.18311
}

Semantic roles & 50–950 ramp

primary
#BB42C1
secondary
#96CC93
accent
#DA4E54
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BB42C1

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

Preview Lab → · Contrast checker → · Palette generator →

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