#BD42DC#BD42DC

#BD42DC is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.4% C 0.236 H 318.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#BD42DC
RGBrgb(189, 66, 220)
HSLhsl(288, 69%, 56%)
HSVhsv(288, 70%, 86%)
CMYKcmyk(14.1%, 70%, 0%, 13.7%)
CIE-LABlab(51.71, 69.43, -55.59)
CIE-LCHlch(51.71, 88.94, 321.32°)
OKLaboklab(61.41% 0.1778 -0.1559)
OKLCHoklch(61.41% 0.236 318.7)
XYZxyz(35.8510, 19.8842, 69.6459)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42DC #61DC42
analogous
#7042DC #BD42DC #DC42AE
triadic
#BD42DC #DCBD42 #42DCBD
tetradic
#BD42DC #DC7042 #61DC42 #42AEDC
square
#BD42DC #DC7042 #61DC42 #42AEDC
split-complementary
#BD42DC #AEDC42 #42DC70
monochromatic
#731A8A #9F23BE #BD42DC #CF76E6 #E1A9EF

Accessibility & contrast

On white

4.22
#BD42DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#BD42DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42DC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42DC#FFFFFF#000000##000000
##BD42DC1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#4B7FD8
Tritanopia (blue-blind)
#BD608B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bd42dc;
/* rgb */ color: rgb(189, 66, 220);
/* oklch */ color: oklch(61.4% 0.236 318.7);
Tailwind
colors: {
  custom: {
    50: '#d581e8',
    500: '#bd42dc',
    950: '#000000',
  },
}
SCSS
$custom: #bd42dc;
$custom-light: #d581e8;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42dc",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 220
  },
  "hsl": {
    "h": 287.922,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61412,
    "c": 0.23646,
    "h": 318.7
  },
  "luminance": 0.19883
}

Semantic roles & 50–950 ramp

primary
#BD42DC
secondary
#AADD9D
accent
#EC3C60
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BD42DC

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

Preview Lab → · Contrast checker → · Palette generator →

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