#BD42D1#BD42D1

#BD42D1 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.7% C 0.227 H 321.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#BD42D1
RGBrgb(189, 66, 209)
HSLhsl(292, 61%, 54%)
HSVhsv(292, 68%, 82%)
CMYKcmyk(9.6%, 68.4%, 0%, 18%)
CIE-LABlab(51.06, 67.41, -50.35)
CIE-LCHlch(51.06, 84.14, 323.25°)
OKLaboklab(60.74% 0.1783 -0.1406)
OKLCHoklch(60.74% 0.227 321.7)
XYZxyz(34.4419, 19.3206, 62.2243)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42D1 #56D142
analogous
#7642D1 #BD42D1 #D1429E
triadic
#BD42D1 #D1BD42 #42D1BD
tetradic
#BD42D1 #D17642 #56D142 #429ED1
square
#BD42D1 #D17642 #56D142 #429ED1
split-complementary
#BD42D1 #9ED142 #42D176
monochromatic
#6E1E7B #9A2AAC #BD42D1 #CE73DD #DFA4E9

Accessibility & contrast

On white

4.32
#BD42D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#BD42D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42D1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42D1#FFFFFF#000000##000000
##BD42D11.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E71D5
Deuteranopia (green-blind)
#547ECE
Tritanopia (blue-blind)
#BF5B85
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bd42d1;
/* rgb */ color: rgb(189, 66, 209);
/* oklch */ color: oklch(60.7% 0.227 321.7);
Tailwind
colors: {
  custom: {
    50: '#d580e0',
    500: '#bd42d1',
    950: '#000000',
  },
}
SCSS
$custom: #bd42d1;
$custom-light: #d580e0;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42d1",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 209
  },
  "hsl": {
    "h": 291.608,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60742,
    "c": 0.22708,
    "h": 321.7
  },
  "luminance": 0.19319
}

Semantic roles & 50–950 ramp

primary
#BD42D1
secondary
#A1D699
accent
#E4445A
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BD42D1

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

Preview Lab → · Contrast checker → · Palette generator →

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