#BD42BD#BD42BD

#BD42BD is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.6% C 0.210 H 327.8°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BD42BD
RGBrgb(189, 66, 189)
HSLhsl(300, 48%, 50%)
HSVhsv(300, 65%, 74%)
CMYKcmyk(0%, 65.1%, 0%, 25.9%)
CIE-LABlab(49.97, 63.92, -40.56)
CIE-LCHlch(49.97, 75.70, 327.61°)
OKLaboklab(59.6% 0.1782 -0.1121)
OKLCHoklch(59.6% 0.21 327.8)
XYZxyz(32.1193, 18.3915, 49.9924)
Luminance0.1839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42BD #42BD42
analogous
#7F42BD #BD42BD #BD4280
triadic
#BD42BD #BDBD42 #42BDBD
tetradic
#BD42BD #BD8042 #42BD42 #427FBD
square
#BD42BD #BD8042 #42BD42 #427FBD
split-complementary
#BD42BD #80BD42 #42BD80
monochromatic
#622262 #903290 #BD42BD #CD6FCD #DD9DDD

Accessibility & contrast

On white

4.49
#BD42BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#BD42BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42BD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42BD#FFFFFF#000000##000000
##BD42BD1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#316DC1
Deuteranopia (green-blind)
#607CBA
Tritanopia (blue-blind)
#C3537A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bd42bd;
/* rgb */ color: rgb(189, 66, 189);
/* oklch */ color: oklch(59.6% 0.210 327.8);
Tailwind
colors: {
  custom: {
    50: '#d480d1',
    500: '#bd42bd',
    950: '#000000',
  },
}
SCSS
$custom: #bd42bd;
$custom-light: #d480d1;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42bd",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 300,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.59603,
    "c": 0.21049,
    "h": 327.8
  },
  "luminance": 0.18389
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD42BD

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

Preview Lab → · Contrast checker → · Palette generator →

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