#BD42B2#BD42B2

#BD42B2 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.0% C 0.202 H 331.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#BD42B2
RGBrgb(189, 66, 178)
HSLhsl(305, 48%, 50%)
HSVhsv(305, 65%, 74%)
CMYKcmyk(0%, 65.1%, 5.8%, 25.9%)
CIE-LABlab(49.41, 62.11, -35.02)
CIE-LCHlch(49.41, 71.30, 330.59°)
OKLaboklab(59.02% 0.1774 -0.0961)
OKLCHoklch(59.02% 0.202 331.6)
XYZxyz(30.9703, 17.9319, 43.9409)
Luminance0.1793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42B2 #42BD4D
analogous
#8B42BD #BD42B2 #BD4274
triadic
#BD42B2 #B2BD42 #42B2BD
tetradic
#BD42B2 #BD8B42 #42BD4D #4274BD
square
#BD42B2 #BD8B42 #42BD4D #4274BD
split-complementary
#BD42B2 #74BD42 #42BD8B
monochromatic
#62225D #903287 #BD42B2 #CD6FC4 #DD9DD7

Accessibility & contrast

On white

4.58
#BD42B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#BD42B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42B2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42B2#FFFFFF#000000##000000
##BD42B21.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6AB5
Deuteranopia (green-blind)
#667CAF
Tritanopia (blue-blind)
#C44E74
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bd42b2;
/* rgb */ color: rgb(189, 66, 178);
/* oklch */ color: oklch(59.0% 0.202 331.6);
Tailwind
colors: {
  custom: {
    50: '#d47fc9',
    500: '#bd42b2',
    950: '#000000',
  },
}
SCSS
$custom: #bd42b2;
$custom-light: #d47fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42b2",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 178
  },
  "hsl": {
    "h": 305.366,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.59022,
    "c": 0.20177,
    "h": 331.6
  },
  "luminance": 0.1793
}

Semantic roles & 50–950 ramp

primary
#BD42B2
secondary
#92C997
accent
#D85C50
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #BD42B2

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

Preview Lab → · Contrast checker → · Palette generator →

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