#BB42CD#BB42CD

#BB42CD is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.2% C 0.223 H 322.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#BB42CD
RGBrgb(187, 66, 205)
HSLhsl(292, 58%, 53%)
HSVhsv(292, 68%, 80%)
CMYKcmyk(8.8%, 67.8%, 0%, 19.6%)
CIE-LABlab(50.54, 66.26, -48.91)
CIE-LCHlch(50.54, 82.35, 323.56°)
OKLaboklab(60.23% 0.1761 -0.1364)
OKLCHoklch(60.23% 0.223 322.2)
XYZxyz(33.4600, 18.8708, 59.6258)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42CD #54CD42
analogous
#7542CD #BB42CD #CD4299
triadic
#BB42CD #CDBB42 #42CDBB
tetradic
#BB42CD #CD7542 #54CD42 #4299CD
square
#BB42CD #CD7542 #54CD42 #4299CD
split-complementary
#BB42CD #99CD42 #42CD75
monochromatic
#6A1F76 #962CA6 #BB42CD #CC72DA #DEA3E7

Accessibility & contrast

On white

4.40
#BB42CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#BB42CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB42CD
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42CD#FFFFFF#000000##000000
##BB42CD1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#166FD1
Deuteranopia (green-blind)
#557DCA
Tritanopia (blue-blind)
#BD5A83
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb42cd;
/* rgb */ color: rgb(187, 66, 205);
/* oklch */ color: oklch(60.2% 0.223 322.2);
Tailwind
colors: {
  custom: {
    50: '#d380dd',
    500: '#bb42cd',
    950: '#000000',
  },
}
SCSS
$custom: #bb42cd;
$custom-light: #d380dd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42cd",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 292.23,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60233,
    "c": 0.22281,
    "h": 322.2
  },
  "luminance": 0.18869
}

Semantic roles & 50–950 ramp

primary
#BB42CD
secondary
#9FD397
accent
#E1465A
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BB42CD

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

Preview Lab → · Contrast checker → · Palette generator →

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