#BB42C4#BB42C4

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

Color values

HEX#BB42C4
RGBrgb(187, 66, 196)
HSLhsl(296, 52%, 51%)
HSVhsv(296, 66%, 77%)
CMYKcmyk(4.6%, 66.3%, 0%, 23.1%)
CIE-LABlab(50.04, 64.66, -44.52)
CIE-LCHlch(50.04, 78.50, 325.45°)
OKLaboklab(59.71% 0.1762 -0.1237)
OKLCHoklch(59.71% 0.215 324.9)
XYZxyz(32.4048, 18.4487, 54.0680)
Luminance0.1845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42C4 #4BC442
analogous
#7A42C4 #BB42C4 #C4428C
triadic
#BB42C4 #C4BB42 #42C4BB
tetradic
#BB42C4 #C47A42 #4BC442 #428CC4
square
#BB42C4 #C47A42 #4BC442 #428CC4
split-complementary
#BB42C4 #8CC442 #42C47A
monochromatic
#65216A #923099 #BB42C4 #CC71D3 #DD9FE1

Accessibility & contrast

On white

4.48
#BB42C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#BB42C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB42C4
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42C4#FFFFFF#000000##000000
##BB42C41.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#276EC8
Deuteranopia (green-blind)
#5B7CC1
Tritanopia (blue-blind)
#BF567E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bb42c4;
/* rgb */ color: rgb(187, 66, 196);
/* oklch */ color: oklch(59.7% 0.215 324.9);
Tailwind
colors: {
  custom: {
    50: '#d380d6',
    500: '#bb42c4',
    950: '#000000',
  },
}
SCSS
$custom: #bb42c4;
$custom-light: #d380d6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42c4",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 196
  },
  "hsl": {
    "h": 295.846,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59713,
    "c": 0.21523,
    "h": 324.9
  },
  "luminance": 0.18447
}

Semantic roles & 50–950 ramp

primary
#BB42C4
secondary
#98CE94
accent
#DC4C56
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BB42C4

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

Preview Lab → · Contrast checker → · Palette generator →

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