#BB42D3#BB42D3

#BB42D3 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.6% C 0.228 H 320.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#BB42D3
RGBrgb(187, 66, 211)
HSLhsl(290, 62%, 54%)
HSVhsv(290, 69%, 83%)
CMYKcmyk(11.4%, 68.7%, 0%, 17.3%)
CIE-LABlab(50.88, 67.34, -51.80)
CIE-LCHlch(50.88, 84.96, 322.44°)
OKLaboklab(60.59% 0.176 -0.1449)
OKLCHoklch(60.59% 0.228 320.5)
XYZxyz(34.1982, 19.1661, 63.5135)
Luminance0.1916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42D3 #5AD342
analogous
#7342D3 #BB42D3 #D342A3
triadic
#BB42D3 #D3BB42 #42D3BB
tetradic
#BB42D3 #D37342 #5AD342 #42A3D3
square
#BB42D3 #D37342 #5AD342 #42A3D3
split-complementary
#BB42D3 #A3D342 #42D373
monochromatic
#6D1D7D #9929AF #BB42D3 #CD74DF #DFA5EA

Accessibility & contrast

On white

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

On black

4.83
#BB42D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB42D3
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42D3#FFFFFF#000000##000000
##BB42D31.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071D7
Deuteranopia (green-blind)
#507DD0
Tritanopia (blue-blind)
#BC5C86
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bb42d3;
/* rgb */ color: rgb(187, 66, 211);
/* oklch */ color: oklch(60.6% 0.228 320.5);
Tailwind
colors: {
  custom: {
    50: '#d380e1',
    500: '#bb42d3',
    950: '#000000',
  },
}
SCSS
$custom: #bb42d3;
$custom-light: #d380e1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42d3",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 211
  },
  "hsl": {
    "h": 290.069,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60592,
    "c": 0.22792,
    "h": 320.5
  },
  "luminance": 0.19164
}

Semantic roles & 50–950 ramp

primary
#BB42D3
secondary
#A4D79A
accent
#E5425D
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BB42D3

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

Preview Lab → · Contrast checker → · Palette generator →

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