#D428CE#D428CE

#D428CE is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.9% C 0.260 H 329.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#D428CE
RGBrgb(212, 40, 206)
HSLhsl(302, 68%, 49%)
HSVhsv(302, 81%, 83%)
CMYKcmyk(0%, 81.1%, 2.8%, 16.9%)
CIE-LABlab(51.81, 79.43, -47.22)
CIE-LCHlch(51.81, 92.41, 329.27°)
OKLaboklab(61.93% 0.2246 -0.1307)
OKLCHoklch(61.93% 0.26 329.8)
XYZxyz(39.0506, 19.9740, 60.1792)
Luminance0.1997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D428CE #28D42E
analogous
#8428D4 #D428CE #D42878
triadic
#D428CE #CED428 #28CED4
tetradic
#D428CE #D48428 #28D42E #2878D4
square
#D428CE #D48428 #28D42E #2878D4
split-complementary
#D428CE #78D428 #28D484
monochromatic
#6D156A #A11E9C #D428CE #E059DB #E98DE6

Accessibility & contrast

On white

4.20
#D428CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#D428CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D428CE
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D428CE#FFFFFF#000000##000000
##D428CE1.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#6183CA
Tritanopia (blue-blind)
#DC457D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d428ce;
/* rgb */ color: rgb(212, 40, 206);
/* oklch */ color: oklch(61.9% 0.260 329.8);
Tailwind
colors: {
  custom: {
    50: '#e679dd',
    500: '#d428ce',
    950: '#000000',
  },
}
SCSS
$custom: #d428ce;
$custom-light: #e679dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d428ce",
  "rgb": {
    "r": 212,
    "g": 40,
    "b": 206
  },
  "hsl": {
    "h": 302.093,
    "s": 68.254,
    "l": 49.412
  },
  "oklch": {
    "l": 0.61926,
    "c": 0.25986,
    "h": 329.8
  },
  "luminance": 0.19971
}

Semantic roles & 50–950 ramp

primary
#D428CE
secondary
#84D487
accent
#EB433D
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#170B15
muted
#857C83

Preview Lab

Preview with #D428CE

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

Preview Lab → · Contrast checker → · Palette generator →

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