#BD42C1#BD42C1

#BD42C1 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.8% C 0.214 H 326.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#BD42C1
RGBrgb(189, 66, 193)
HSLhsl(298, 51%, 51%)
HSVhsv(298, 66%, 76%)
CMYKcmyk(2.1%, 65.8%, 0%, 24.3%)
CIE-LABlab(50.18, 64.60, -42.54)
CIE-LCHlch(50.18, 77.35, 326.63°)
OKLaboklab(59.82% 0.1783 -0.1179)
OKLCHoklch(59.82% 0.214 326.5)
XYZxyz(32.5595, 18.5676, 52.3107)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42C1 #46C142
analogous
#7D42C1 #BD42C1 #C14285
triadic
#BD42C1 #C1BD42 #42C1BD
tetradic
#BD42C1 #C17D42 #46C142 #4285C1
square
#BD42C1 #C17D42 #46C142 #4285C1
split-complementary
#BD42C1 #85C142 #42C17D
monochromatic
#652267 #923195 #BD42C1 #CD70D0 #DD9EDF

Accessibility & contrast

On white

4.46
#BD42C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#BD42C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42C1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42C1#FFFFFF#000000##000000
##BD42C11.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C6DC5
Deuteranopia (green-blind)
#5E7DBE
Tritanopia (blue-blind)
#C2547C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bd42c1;
/* rgb */ color: rgb(189, 66, 193);
/* oklch */ color: oklch(59.8% 0.214 326.5);
Tailwind
colors: {
  custom: {
    50: '#d480d4',
    500: '#bd42c1',
    950: '#000000',
  },
}
SCSS
$custom: #bd42c1;
$custom-light: #d480d4;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42c1",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 193
  },
  "hsl": {
    "h": 298.11,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59823,
    "c": 0.21374,
    "h": 326.5
  },
  "luminance": 0.18566
}

Semantic roles & 50–950 ramp

primary
#BD42C1
secondary
#95CC93
accent
#DA4E52
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BD42C1

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

Preview Lab → · Contrast checker → · Palette generator →

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