#BD42C7#BD42C7

#BD42C7 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.2% C 0.219 H 324.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#BD42C7
RGBrgb(189, 66, 199)
HSLhsl(295, 54%, 52%)
HSVhsv(295, 67%, 78%)
CMYKcmyk(5%, 66.8%, 0%, 22%)
CIE-LABlab(50.50, 65.64, -45.50)
CIE-LCHlch(50.50, 79.87, 325.27°)
OKLaboklab(60.16% 0.1784 -0.1264)
OKLCHoklch(60.16% 0.219 324.7)
XYZxyz(33.2425, 18.8408, 55.9075)
Luminance0.1884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42C7 #4CC742
analogous
#7B42C7 #BD42C7 #C7428E
triadic
#BD42C7 #C7BD42 #42C7BD
tetradic
#BD42C7 #C77B42 #4CC742 #428EC7
square
#BD42C7 #C77B42 #4CC742 #428EC7
split-complementary
#BD42C7 #8EC742 #42C77B
monochromatic
#68216E #952F9D #BD42C7 #CD71D5 #DEA0E3

Accessibility & contrast

On white

4.40
#BD42C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#BD42C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42C7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42C7#FFFFFF#000000##000000
##BD42C71.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#246FCB
Deuteranopia (green-blind)
#5B7DC4
Tritanopia (blue-blind)
#C1577F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bd42c7;
/* rgb */ color: rgb(189, 66, 199);
/* oklch */ color: oklch(60.2% 0.219 324.7);
Tailwind
colors: {
  custom: {
    50: '#d480d8',
    500: '#bd42c7',
    950: '#000000',
  },
}
SCSS
$custom: #bd42c7;
$custom-light: #d480d8;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42c7",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 199
  },
  "hsl": {
    "h": 295.489,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.6016,
    "c": 0.21869,
    "h": 324.7
  },
  "luminance": 0.18839
}

Semantic roles & 50–950 ramp

primary
#BD42C7
secondary
#9AD095
accent
#DE4A55
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BD42C7

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

Preview Lab → · Contrast checker → · Palette generator →

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