#BD42BB#BD42BB

#BD42BB is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.5% C 0.209 H 328.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BD42BB
RGBrgb(189, 66, 187)
HSLhsl(301, 48%, 50%)
HSVhsv(301, 65%, 74%)
CMYKcmyk(0%, 65.1%, 1.1%, 25.9%)
CIE-LABlab(49.86, 63.59, -39.56)
CIE-LCHlch(49.86, 74.89, 328.12°)
OKLaboklab(59.5% 0.1781 -0.1092)
OKLCHoklch(59.5% 0.209 328.5)
XYZxyz(31.9038, 18.3053, 48.8570)
Luminance0.1830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42BB #42BD44
analogous
#8242BD #BD42BB #BD427D
triadic
#BD42BB #BBBD42 #42BBBD
tetradic
#BD42BB #BD8242 #42BD44 #427DBD
square
#BD42BB #BD8242 #42BD44 #427DBD
split-complementary
#BD42BB #7DBD42 #42BD82
monochromatic
#622261 #90328E #BD42BB #CD6FCB #DD9DDC

Accessibility & contrast

On white

4.51
#BD42BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#BD42BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42BB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42BB#FFFFFF#000000##000000
##BD42BB1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#336CBF
Deuteranopia (green-blind)
#617CB8
Tritanopia (blue-blind)
#C35279
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bd42bb;
/* rgb */ color: rgb(189, 66, 187);
/* oklch */ color: oklch(59.5% 0.209 328.5);
Tailwind
colors: {
  custom: {
    50: '#d480d0',
    500: '#bd42bb',
    950: '#000000',
  },
}
SCSS
$custom: #bd42bb;
$custom-light: #d480d0;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42bb",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 300.976,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.59495,
    "c": 0.20888,
    "h": 328.5
  },
  "luminance": 0.18303
}

Semantic roles & 50–950 ramp

primary
#BD42BB
secondary
#92C993
accent
#D85250
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BD42BB

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

Preview Lab → · Contrast checker → · Palette generator →

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