#BD42B7#BD42B7

#BD42B7 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.3% C 0.206 H 329.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BD42B7
RGBrgb(189, 66, 183)
HSLhsl(303, 48%, 50%)
HSVhsv(303, 65%, 74%)
CMYKcmyk(0%, 65.1%, 3.2%, 25.9%)
CIE-LABlab(49.66, 62.92, -37.55)
CIE-LCHlch(49.66, 73.28, 329.18°)
OKLaboklab(59.28% 0.1778 -0.1034)
OKLCHoklch(59.28% 0.206 329.8)
XYZxyz(31.4815, 18.1364, 46.6331)
Luminance0.1813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42B7 #42BD48
analogous
#8642BD #BD42B7 #BD4279
triadic
#BD42B7 #B7BD42 #42B7BD
tetradic
#BD42B7 #BD8642 #42BD48 #4279BD
square
#BD42B7 #BD8642 #42BD48 #4279BD
split-complementary
#BD42B7 #79BD42 #42BD86
monochromatic
#62225F #90328B #BD42B7 #CD6FC8 #DD9DDA

Accessibility & contrast

On white

4.54
#BD42B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#BD42B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42B7
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42B7#FFFFFF#000000##000000
##BD42B71.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#376BBA
Deuteranopia (green-blind)
#637CB4
Tritanopia (blue-blind)
#C45077
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bd42b7;
/* rgb */ color: rgb(189, 66, 183);
/* oklch */ color: oklch(59.3% 0.206 329.8);
Tailwind
colors: {
  custom: {
    50: '#d480cd',
    500: '#bd42b7',
    950: '#000000',
  },
}
SCSS
$custom: #bd42b7;
$custom-light: #d480cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42b7",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 183
  },
  "hsl": {
    "h": 302.927,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.59282,
    "c": 0.20569,
    "h": 329.8
  },
  "luminance": 0.18134
}

Semantic roles & 50–950 ramp

primary
#BD42B7
secondary
#92C995
accent
#D85750
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B13
muted
#837C82

Preview Lab

Preview with #BD42B7

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

Preview Lab → · Contrast checker → · Palette generator →

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