#BD42BC#BD42BC

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

Color values

HEX#BD42BC
RGBrgb(189, 66, 188)
HSLhsl(300, 48%, 50%)
HSVhsv(300, 65%, 74%)
CMYKcmyk(0%, 65.1%, 0.5%, 25.9%)
CIE-LABlab(49.92, 63.76, -40.06)
CIE-LCHlch(49.92, 75.29, 327.86°)
OKLaboklab(59.55% 0.1781 -0.1106)
OKLCHoklch(59.55% 0.21 328.1)
XYZxyz(32.0112, 18.3483, 49.4227)
Luminance0.1835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42BC #42BD43
analogous
#8142BD #BD42BC #BD427E
triadic
#BD42BC #BCBD42 #42BCBD
tetradic
#BD42BC #BD8142 #42BD43 #427EBD
square
#BD42BC #BD8142 #42BD43 #427EBD
split-complementary
#BD42BC #7EBD42 #42BD81
monochromatic
#622262 #90328F #BD42BC #CD6FCC #DD9DDC

Accessibility & contrast

On white

4.50
#BD42BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#BD42BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42BC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42BC#FFFFFF#000000##000000
##BD42BC1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#326CC0
Deuteranopia (green-blind)
#617CB9
Tritanopia (blue-blind)
#C35279
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bd42bc;
/* rgb */ color: rgb(189, 66, 188);
/* oklch */ color: oklch(59.5% 0.210 328.1);
Tailwind
colors: {
  custom: {
    50: '#d480d0',
    500: '#bd42bc',
    950: '#000000',
  },
}
SCSS
$custom: #bd42bc;
$custom-light: #d480d0;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42bc",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 300.488,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.59549,
    "c": 0.20968,
    "h": 328.1
  },
  "luminance": 0.18346
}

Semantic roles & 50–950 ramp

primary
#BD42BC
secondary
#92C992
accent
#D85150
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BD42BC

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

Preview Lab → · Contrast checker → · Palette generator →

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