#BD42C5#BD42C5

#BD42C5 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.0% C 0.217 H 325.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BD42C5
RGBrgb(189, 66, 197)
HSLhsl(296, 53%, 52%)
HSVhsv(296, 66%, 77%)
CMYKcmyk(4.1%, 66.5%, 0%, 22.7%)
CIE-LABlab(50.39, 65.29, -44.52)
CIE-LCHlch(50.39, 79.02, 325.71°)
OKLaboklab(60.05% 0.1784 -0.1236)
OKLCHoklch(60.05% 0.217 325.3)
XYZxyz(33.0118, 18.7485, 54.6925)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42C5 #4AC542
analogous
#7C42C5 #BD42C5 #C5428C
triadic
#BD42C5 #C5BD42 #42C5BD
tetradic
#BD42C5 #C57C42 #4AC542 #428CC5
square
#BD42C5 #C57C42 #4AC542 #428CC5
split-complementary
#BD42C5 #8CC542 #42C57C
monochromatic
#67216C #942F9A #BD42C5 #CD71D3 #DEA0E2

Accessibility & contrast

On white

4.42
#BD42C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#BD42C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42C5
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42C5#FFFFFF#000000##000000
##BD42C51.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#276EC9
Deuteranopia (green-blind)
#5C7DC2
Tritanopia (blue-blind)
#C1567E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bd42c5;
/* rgb */ color: rgb(189, 66, 197);
/* oklch */ color: oklch(60.0% 0.217 325.3);
Tailwind
colors: {
  custom: {
    50: '#d480d7',
    500: '#bd42c5',
    950: '#000000',
  },
}
SCSS
$custom: #bd42c5;
$custom-light: #d480d7;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42c5",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 197
  },
  "hsl": {
    "h": 296.336,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60047,
    "c": 0.21704,
    "h": 325.3
  },
  "luminance": 0.18746
}

Semantic roles & 50–950 ramp

primary
#BD42C5
secondary
#98CE95
accent
#DC4B54
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BD42C5

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

Preview Lab → · Contrast checker → · Palette generator →

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