#BD42C4#BD42C4

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

Color values

HEX#BD42C4
RGBrgb(189, 66, 196)
HSLhsl(297, 52%, 51%)
HSVhsv(297, 66%, 77%)
CMYKcmyk(3.6%, 66.3%, 0%, 23.1%)
CIE-LABlab(50.34, 65.12, -44.02)
CIE-LCHlch(50.34, 78.60, 325.94°)
OKLaboklab(59.99% 0.1784 -0.1222)
OKLCHoklch(59.99% 0.216 325.6)
XYZxyz(32.8976, 18.7028, 54.0911)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42C4 #49C442
analogous
#7C42C4 #BD42C4 #C4428A
triadic
#BD42C4 #C4BD42 #42C4BD
tetradic
#BD42C4 #C47C42 #49C442 #428AC4
square
#BD42C4 #C47C42 #49C442 #428AC4
split-complementary
#BD42C4 #8AC442 #42C47C
monochromatic
#66216A #933099 #BD42C4 #CD71D3 #DE9FE1

Accessibility & contrast

On white

4.43
#BD42C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#BD42C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42C4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42C4#FFFFFF#000000##000000
##BD42C41.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#296EC8
Deuteranopia (green-blind)
#5C7DC1
Tritanopia (blue-blind)
#C1567E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bd42c4;
/* rgb */ color: rgb(189, 66, 196);
/* oklch */ color: oklch(60.0% 0.216 325.6);
Tailwind
colors: {
  custom: {
    50: '#d480d6',
    500: '#bd42c4',
    950: '#000000',
  },
}
SCSS
$custom: #bd42c4;
$custom-light: #d480d6;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42c4",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 196
  },
  "hsl": {
    "h": 296.769,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5999,
    "c": 0.21621,
    "h": 325.6
  },
  "luminance": 0.18701
}

Semantic roles & 50–950 ramp

primary
#BD42C4
secondary
#97CE94
accent
#DC4C54
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BD42C4

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

Preview Lab → · Contrast checker → · Palette generator →

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