#BD42C6#BD42C6

#BD42C6 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.1% C 0.218 H 325.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BD42C6
RGBrgb(189, 66, 198)
HSLhsl(296, 54%, 52%)
HSVhsv(296, 67%, 78%)
CMYKcmyk(4.5%, 66.7%, 0%, 22.4%)
CIE-LABlab(50.45, 65.47, -45.01)
CIE-LCHlch(50.45, 79.44, 325.49°)
OKLaboklab(60.1% 0.1784 -0.125)
OKLCHoklch(60.1% 0.218 325)
XYZxyz(33.1267, 18.7945, 55.2980)
Luminance0.1879 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42C6 #4BC642
analogous
#7B42C6 #BD42C6 #C6428D
triadic
#BD42C6 #C6BD42 #42C6BD
tetradic
#BD42C6 #C67B42 #4BC642 #428DC6
square
#BD42C6 #C67B42 #4BC642 #428DC6
split-complementary
#BD42C6 #8DC642 #42C67B
monochromatic
#68216D #942F9C #BD42C6 #CD71D4 #DEA0E2

Accessibility & contrast

On white

4.41
#BD42C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#BD42C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42C6
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42C6#FFFFFF#000000##000000
##BD42C61.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#266ECA
Deuteranopia (green-blind)
#5B7DC3
Tritanopia (blue-blind)
#C1567F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bd42c6;
/* rgb */ color: rgb(189, 66, 198);
/* oklch */ color: oklch(60.1% 0.218 325.0);
Tailwind
colors: {
  custom: {
    50: '#d480d8',
    500: '#bd42c6',
    950: '#000000',
  },
}
SCSS
$custom: #bd42c6;
$custom-light: #d480d8;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42c6",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 198
  },
  "hsl": {
    "h": 295.909,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60103,
    "c": 0.21786,
    "h": 325
  },
  "luminance": 0.18792
}

Semantic roles & 50–950 ramp

primary
#BD42C6
secondary
#99CF95
accent
#DD4B55
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BD42C6

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

Preview Lab → · Contrast checker → · Palette generator →

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