#BB42D2#BB42D2

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

Color values

HEX#BB42D2
RGBrgb(187, 66, 210)
HSLhsl(290, 62%, 54%)
HSVhsv(290, 69%, 82%)
CMYKcmyk(11%, 68.6%, 0%, 17.6%)
CIE-LABlab(50.82, 67.16, -51.32)
CIE-LCHlch(50.82, 84.52, 322.62°)
OKLaboklab(60.53% 0.176 -0.1435)
OKLCHoklch(60.53% 0.227 320.8)
XYZxyz(34.0732, 19.1161, 62.8553)
Luminance0.1911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42D2 #59D242
analogous
#7342D2 #BB42D2 #D242A1
triadic
#BB42D2 #D2BB42 #42D2BB
tetradic
#BB42D2 #D27342 #59D242 #42A1D2
square
#BB42D2 #D27342 #59D242 #42A1D2
split-complementary
#BB42D2 #A1D242 #42D273
monochromatic
#6D1E7C #9829AD #BB42D2 #CD73DE #DFA5EA

Accessibility & contrast

On white

4.35
#BB42D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#BB42D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB42D2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42D2#FFFFFF#000000##000000
##BB42D21.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0371D6
Deuteranopia (green-blind)
#517DCF
Tritanopia (blue-blind)
#BC5C85
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bb42d2;
/* rgb */ color: rgb(187, 66, 210);
/* oklch */ color: oklch(60.5% 0.227 320.8);
Tailwind
colors: {
  custom: {
    50: '#d380e0',
    500: '#bb42d2',
    950: '#000000',
  },
}
SCSS
$custom: #bb42d2;
$custom-light: #d380e0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42d2",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 210
  },
  "hsl": {
    "h": 290.417,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60532,
    "c": 0.22706,
    "h": 320.8
  },
  "luminance": 0.19114
}

Semantic roles & 50–950 ramp

primary
#BB42D2
secondary
#A3D799
accent
#E5435D
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BB42D2

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

Preview Lab → · Contrast checker → · Palette generator →

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