#BB42D5#BB42D5

#BB42D5 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.7% C 0.230 H 320.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#BB42D5
RGBrgb(187, 66, 213)
HSLhsl(289, 64%, 55%)
HSVhsv(289, 69%, 84%)
CMYKcmyk(12.2%, 69%, 0%, 16.5%)
CIE-LABlab(51.00, 67.71, -52.75)
CIE-LCHlch(51.00, 85.83, 322.08°)
OKLaboklab(60.71% 0.1759 -0.1477)
OKLCHoklch(60.71% 0.23 320)
XYZxyz(34.4505, 19.2670, 64.8422)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42D5 #5CD542
analogous
#7242D5 #BB42D5 #D542A5
triadic
#BB42D5 #D5BB42 #42D5BB
tetradic
#BB42D5 #D57242 #5CD542 #42A5D5
square
#BB42D5 #D57242 #5CD542 #42A5D5
split-complementary
#BB42D5 #A5D542 #42D572
monochromatic
#6F1C80 #9A28B2 #BB42D5 #CD74E0 #DFA6EB

Accessibility & contrast

On white

4.33
#BB42D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#BB42D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB42D5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42D5#FFFFFF#000000##000000
##BB42D51.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#4F7ED2
Tritanopia (blue-blind)
#BC5D87
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bb42d5;
/* rgb */ color: rgb(187, 66, 213);
/* oklch */ color: oklch(60.7% 0.230 320.0);
Tailwind
colors: {
  custom: {
    50: '#d380e2',
    500: '#bb42d5',
    950: '#000000',
  },
}
SCSS
$custom: #bb42d5;
$custom-light: #d380e2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42d5",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 213
  },
  "hsl": {
    "h": 289.388,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60714,
    "c": 0.22964,
    "h": 320
  },
  "luminance": 0.19265
}

Semantic roles & 50–950 ramp

primary
#BB42D5
secondary
#A5D89A
accent
#E7415E
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BB42D5

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

Preview Lab → · Contrast checker → · Palette generator →

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