#BD42D5#BD42D5

#BD42D5 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 61.0% C 0.230 H 320.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#BD42D5
RGBrgb(189, 66, 213)
HSLhsl(290, 64%, 55%)
HSVhsv(290, 69%, 84%)
CMYKcmyk(11.3%, 69%, 0%, 16.5%)
CIE-LABlab(51.29, 68.14, -52.27)
CIE-LCHlch(51.29, 85.88, 322.51°)
OKLaboklab(60.98% 0.1782 -0.1462)
OKLCHoklch(60.98% 0.23 320.6)
XYZxyz(34.9433, 19.5211, 64.8653)
Luminance0.1952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42D5 #5AD542
analogous
#7442D5 #BD42D5 #D542A4
triadic
#BD42D5 #D5BD42 #42D5BD
tetradic
#BD42D5 #D57442 #5AD542 #42A4D5
square
#BD42D5 #D57442 #5AD542 #42A4D5
split-complementary
#BD42D5 #A4D542 #42D574
monochromatic
#701C80 #9C28B2 #BD42D5 #CE74E0 #E0A6EB

Accessibility & contrast

On white

4.28
#BD42D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#BD42D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42D5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42D5#FFFFFF#000000##000000
##BD42D51.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072D9
Deuteranopia (green-blind)
#517FD1
Tritanopia (blue-blind)
#BE5D87
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bd42d5;
/* rgb */ color: rgb(189, 66, 213);
/* oklch */ color: oklch(61.0% 0.230 320.6);
Tailwind
colors: {
  custom: {
    50: '#d581e2',
    500: '#bd42d5',
    950: '#000000',
  },
}
SCSS
$custom: #bd42d5;
$custom-light: #d581e2;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42d5",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 213
  },
  "hsl": {
    "h": 290.204,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60982,
    "c": 0.23047,
    "h": 320.6
  },
  "luminance": 0.19519
}

Semantic roles & 50–950 ramp

primary
#BD42D5
secondary
#A5D89A
accent
#E7415C
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BD42D5

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

Preview Lab → · Contrast checker → · Palette generator →

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