#BD42D3#BD42D3

#BD42D3 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.9% C 0.229 H 321.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BD42D3
RGBrgb(189, 66, 211)
HSLhsl(291, 62%, 54%)
HSVhsv(291, 69%, 83%)
CMYKcmyk(10.4%, 68.7%, 0%, 17.3%)
CIE-LABlab(51.18, 67.78, -51.31)
CIE-LCHlch(51.18, 85.01, 322.87°)
OKLaboklab(60.86% 0.1783 -0.1434)
OKLCHoklch(60.86% 0.229 321.2)
XYZxyz(34.6910, 19.4202, 63.5366)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42D3 #58D342
analogous
#7542D3 #BD42D3 #D342A0
triadic
#BD42D3 #D3BD42 #42D3BD
tetradic
#BD42D3 #D37542 #58D342 #42A0D3
square
#BD42D3 #D37542 #58D342 #42A0D3
split-complementary
#BD42D3 #A0D342 #42D375
monochromatic
#6F1D7D #9B29AF #BD42D3 #CE74DF #E0A5EA

Accessibility & contrast

On white

4.30
#BD42D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#BD42D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42D3
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42D3#FFFFFF#000000##000000
##BD42D31.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0571D7
Deuteranopia (green-blind)
#527ED0
Tritanopia (blue-blind)
#BF5C86
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bd42d3;
/* rgb */ color: rgb(189, 66, 211);
/* oklch */ color: oklch(60.9% 0.229 321.2);
Tailwind
colors: {
  custom: {
    50: '#d580e1',
    500: '#bd42d3',
    950: '#000000',
  },
}
SCSS
$custom: #bd42d3;
$custom-light: #d580e1;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42d3",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 211
  },
  "hsl": {
    "h": 290.897,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60862,
    "c": 0.22877,
    "h": 321.2
  },
  "luminance": 0.19418
}

Semantic roles & 50–950 ramp

primary
#BD42D3
secondary
#A3D79A
accent
#E5425B
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BD42D3

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

Preview Lab → · Contrast checker → · Palette generator →

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