#BB42CE#BB42CE

#BB42CE is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.3% C 0.224 H 321.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#BB42CE
RGBrgb(187, 66, 206)
HSLhsl(292, 59%, 53%)
HSVhsv(292, 68%, 81%)
CMYKcmyk(9.2%, 68%, 0%, 19.2%)
CIE-LABlab(50.59, 66.44, -49.39)
CIE-LCHlch(50.59, 82.78, 323.37°)
OKLaboklab(60.29% 0.1761 -0.1379)
OKLCHoklch(60.29% 0.224 321.9)
XYZxyz(33.5811, 18.9193, 60.2635)
Luminance0.1892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42CE #55CE42
analogous
#7542CE #BB42CE #CE429B
triadic
#BB42CE #CEBB42 #42CEBB
tetradic
#BB42CE #CE7542 #55CE42 #429BCE
square
#BB42CE #CE7542 #55CE42 #429BCE
split-complementary
#BB42CE #9BCE42 #42CE75
monochromatic
#6B1F77 #972BA7 #BB42CE #CC73DB #DEA3E7

Accessibility & contrast

On white

4.39
#BB42CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#BB42CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB42CE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42CE#FFFFFF#000000##000000
##BB42CE1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1370D2
Deuteranopia (green-blind)
#547DCB
Tritanopia (blue-blind)
#BD5A83
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb42ce;
/* rgb */ color: rgb(187, 66, 206);
/* oklch */ color: oklch(60.3% 0.224 321.9);
Tailwind
colors: {
  custom: {
    50: '#d380dd',
    500: '#bb42ce',
    950: '#000000',
  },
}
SCSS
$custom: #bb42ce;
$custom-light: #d380dd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42ce",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 291.857,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60293,
    "c": 0.22365,
    "h": 321.9
  },
  "luminance": 0.18917
}

Semantic roles & 50–950 ramp

primary
#BB42CE
secondary
#A0D498
accent
#E2465B
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BB42CE

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

Preview Lab → · Contrast checker → · Palette generator →

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