#BB42D0#BB42D0

#BB42D0 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.4% C 0.225 H 321.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#BB42D0
RGBrgb(187, 66, 208)
HSLhsl(291, 60%, 54%)
HSVhsv(291, 68%, 82%)
CMYKcmyk(10.1%, 68.3%, 0%, 18.4%)
CIE-LABlab(50.71, 66.80, -50.36)
CIE-LCHlch(50.71, 83.65, 322.99°)
OKLaboklab(60.41% 0.1761 -0.1407)
OKLCHoklch(60.41% 0.225 321.4)
XYZxyz(33.8256, 19.0171, 61.5512)
Luminance0.1902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42D0 #57D042
analogous
#7442D0 #BB42D0 #D0429E
triadic
#BB42D0 #D0BB42 #42D0BB
tetradic
#BB42D0 #D07442 #57D042 #429ED0
square
#BB42D0 #D07442 #57D042 #429ED0
split-complementary
#BB42D0 #9ED042 #42D074
monochromatic
#6C1E79 #972AAA #BB42D0 #CD73DC #DEA4E8

Accessibility & contrast

On white

4.37
#BB42D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#BB42D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB42D0
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42D0#FFFFFF#000000##000000
##BB42D01.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C70D4
Deuteranopia (green-blind)
#537DCD
Tritanopia (blue-blind)
#BD5B84
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bb42d0;
/* rgb */ color: rgb(187, 66, 208);
/* oklch */ color: oklch(60.4% 0.225 321.4);
Tailwind
colors: {
  custom: {
    50: '#d380df',
    500: '#bb42d0',
    950: '#000000',
  },
}
SCSS
$custom: #bb42d0;
$custom-light: #d380df;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42d0",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 291.127,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60412,
    "c": 0.22536,
    "h": 321.4
  },
  "luminance": 0.19015
}

Semantic roles & 50–950 ramp

primary
#BB42D0
secondary
#A2D599
accent
#E3445C
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BB42D0

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

Preview Lab → · Contrast checker → · Palette generator →

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