#BB42D1#BB42D1

#BB42D1 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.5% C 0.226 H 321.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#BB42D1
RGBrgb(187, 66, 209)
HSLhsl(291, 61%, 54%)
HSVhsv(291, 68%, 82%)
CMYKcmyk(10.5%, 68.4%, 0%, 18%)
CIE-LABlab(50.76, 66.98, -50.84)
CIE-LCHlch(50.76, 84.09, 322.80°)
OKLaboklab(60.47% 0.176 -0.1421)
OKLCHoklch(60.47% 0.226 321.1)
XYZxyz(33.9490, 19.0664, 62.2012)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42D1 #58D142
analogous
#7442D1 #BB42D1 #D142A0
triadic
#BB42D1 #D1BB42 #42D1BB
tetradic
#BB42D1 #D17442 #58D142 #42A0D1
square
#BB42D1 #D17442 #58D142 #42A0D1
split-complementary
#BB42D1 #A0D142 #42D174
monochromatic
#6C1E7B #982AAC #BB42D1 #CD73DD #DEA4E9

Accessibility & contrast

On white

4.36
#BB42D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#BB42D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB42D1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42D1#FFFFFF#000000##000000
##BB42D11.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0870D5
Deuteranopia (green-blind)
#527DCE
Tritanopia (blue-blind)
#BC5C85
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bb42d1;
/* rgb */ color: rgb(187, 66, 209);
/* oklch */ color: oklch(60.5% 0.226 321.1);
Tailwind
colors: {
  custom: {
    50: '#d380e0',
    500: '#bb42d1',
    950: '#000000',
  },
}
SCSS
$custom: #bb42d1;
$custom-light: #d380e0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42d1",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 209
  },
  "hsl": {
    "h": 290.769,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60471,
    "c": 0.22621,
    "h": 321.1
  },
  "luminance": 0.19065
}

Semantic roles & 50–950 ramp

primary
#BB42D1
secondary
#A2D699
accent
#E4445C
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BB42D1

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

Preview Lab → · Contrast checker → · Palette generator →

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