#BD42D4#BD42D4

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

Color values

HEX#BD42D4
RGBrgb(189, 66, 212)
HSLhsl(291, 63%, 55%)
HSVhsv(291, 69%, 83%)
CMYKcmyk(10.8%, 68.9%, 0%, 16.9%)
CIE-LABlab(51.23, 67.96, -51.79)
CIE-LCHlch(51.23, 85.44, 322.69°)
OKLaboklab(60.92% 0.1782 -0.1448)
OKLCHoklch(60.92% 0.23 320.9)
XYZxyz(34.8168, 19.4705, 64.1989)
Luminance0.1947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42D4 #59D442
analogous
#7442D4 #BD42D4 #D442A2
triadic
#BD42D4 #D4BD42 #42D4BD
tetradic
#BD42D4 #D47442 #59D442 #42A2D4
square
#BD42D4 #D47442 #59D442 #42A2D4
split-complementary
#BD42D4 #A2D442 #42D474
monochromatic
#6F1D7F #9B28B1 #BD42D4 #CE74DF #E0A6EB

Accessibility & contrast

On white

4.29
#BD42D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#BD42D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42D4
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42D4#FFFFFF#000000##000000
##BD42D41.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#527ED1
Tritanopia (blue-blind)
#BE5C86
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bd42d4;
/* rgb */ color: rgb(189, 66, 212);
/* oklch */ color: oklch(60.9% 0.230 320.9);
Tailwind
colors: {
  custom: {
    50: '#d581e2',
    500: '#bd42d4',
    950: '#000000',
  },
}
SCSS
$custom: #bd42d4;
$custom-light: #d581e2;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42d4",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 212
  },
  "hsl": {
    "h": 290.548,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60922,
    "c": 0.22961,
    "h": 320.9
  },
  "luminance": 0.19469
}

Semantic roles & 50–950 ramp

primary
#BD42D4
secondary
#A4D89A
accent
#E6425C
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BD42D4

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

Preview Lab → · Contrast checker → · Palette generator →

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