#BD42D9#BD42D9

#BD42D9 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.2% C 0.234 H 319.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#BD42D9
RGBrgb(189, 66, 217)
HSLhsl(289, 67%, 55%)
HSVhsv(289, 70%, 85%)
CMYKcmyk(12.9%, 69.6%, 0%, 14.9%)
CIE-LABlab(51.53, 68.87, -54.17)
CIE-LCHlch(51.53, 87.62, 321.81°)
OKLaboklab(61.23% 0.178 -0.1517)
OKLCHoklch(61.23% 0.234 319.5)
XYZxyz(35.4573, 19.7267, 67.5721)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42D9 #5ED942
analogous
#7142D9 #BD42D9 #D942AA
triadic
#BD42D9 #D9BD42 #42D9BD
tetradic
#BD42D9 #D97142 #5ED942 #42AAD9
square
#BD42D9 #D97142 #5ED942 #42AAD9
split-complementary
#BD42D9 #AAD942 #42D971
monochromatic
#721B86 #9D25B9 #BD42D9 #CF75E3 #E1A8ED

Accessibility & contrast

On white

4.25
#BD42D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#BD42D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42D9
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42D9#FFFFFF#000000##000000
##BD42D91.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DD
Deuteranopia (green-blind)
#4E7FD5
Tritanopia (blue-blind)
#BD5F89
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bd42d9;
/* rgb */ color: rgb(189, 66, 217);
/* oklch */ color: oklch(61.2% 0.234 319.5);
Tailwind
colors: {
  custom: {
    50: '#d581e5',
    500: '#bd42d9',
    950: '#000000',
  },
}
SCSS
$custom: #bd42d9;
$custom-light: #d581e5;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42d9",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 217
  },
  "hsl": {
    "h": 288.874,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61226,
    "c": 0.23388,
    "h": 319.5
  },
  "luminance": 0.19725
}

Semantic roles & 50–950 ramp

primary
#BD42D9
secondary
#A8DB9C
accent
#E93E5E
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BD42D9

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

Preview Lab → · Contrast checker → · Palette generator →

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