#BD42D6#BD42D6

#BD42D6 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.0% C 0.231 H 320.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BD42D6
RGBrgb(189, 66, 214)
HSLhsl(290, 64%, 55%)
HSVhsv(290, 69%, 84%)
CMYKcmyk(11.7%, 69.2%, 0%, 16.1%)
CIE-LABlab(51.35, 68.32, -52.74)
CIE-LCHlch(51.35, 86.31, 322.33°)
OKLaboklab(61.04% 0.1781 -0.1476)
OKLCHoklch(61.04% 0.231 320.4)
XYZxyz(35.0706, 19.5721, 65.5358)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42D6 #5BD642
analogous
#7342D6 #BD42D6 #D642A5
triadic
#BD42D6 #D6BD42 #42D6BD
tetradic
#BD42D6 #D67342 #5BD642 #42A5D6
square
#BD42D6 #D67342 #5BD642 #42A5D6
split-complementary
#BD42D6 #A5D642 #42D673
monochromatic
#701C82 #9C27B4 #BD42D6 #CF74E1 #E0A7EC

Accessibility & contrast

On white

4.27
#BD42D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#BD42D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42D6
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42D6#FFFFFF#000000##000000
##BD42D61.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DA
Deuteranopia (green-blind)
#507FD2
Tritanopia (blue-blind)
#BE5D88
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bd42d6;
/* rgb */ color: rgb(189, 66, 214);
/* oklch */ color: oklch(61.0% 0.231 320.4);
Tailwind
colors: {
  custom: {
    50: '#d581e3',
    500: '#bd42d6',
    950: '#000000',
  },
}
SCSS
$custom: #bd42d6;
$custom-light: #d581e3;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42d6",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 214
  },
  "hsl": {
    "h": 289.865,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61043,
    "c": 0.23132,
    "h": 320.4
  },
  "luminance": 0.1957
}

Semantic roles & 50–950 ramp

primary
#BD42D6
secondary
#A5D99B
accent
#E7405D
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150B15
muted
#837C84

Preview Lab

Preview with #BD42D6

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

Preview Lab → · Contrast checker → · Palette generator →

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