#D420D1#D420D1

#D420D1 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.7% C 0.267 H 329.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#D420D1
RGBrgb(212, 32, 209)
HSLhsl(301, 74%, 48%)
HSVhsv(301, 85%, 83%)
CMYKcmyk(0%, 84.9%, 1.4%, 16.9%)
CIE-LABlab(51.42, 81.48, -49.55)
CIE-LCHlch(51.42, 95.37, 328.69°)
OKLaboklab(61.71% 0.2291 -0.1375)
OKLCHoklch(61.71% 0.267 329)
XYZxyz(39.1762, 19.6367, 62.0361)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D420D1 #20D423
analogous
#7D20D4 #D420D1 #D42077
triadic
#D420D1 #D1D420 #20D1D4
tetradic
#D420D1 #D47D20 #20D423 #2077D4
square
#D420D1 #D47D20 #20D423 #2077D4
split-complementary
#D420D1 #77D420 #20D47D
monochromatic
#6A1068 #9F189D #D420D1 #E44DE2 #EC82EA

Accessibility & contrast

On white

4.26
#D420D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#D420D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D420D1
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D420D1#FFFFFF#000000##000000
##D420D11.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#5D82CD
Tritanopia (blue-blind)
#DB437E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d420d1;
/* rgb */ color: rgb(212, 32, 209);
/* oklch */ color: oklch(61.7% 0.267 329.0);
Tailwind
colors: {
  custom: {
    50: '#e677e0',
    500: '#d420d1',
    950: '#000000',
  },
}
SCSS
$custom: #d420d1;
$custom-light: #e677e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d420d1",
  "rgb": {
    "r": 212,
    "g": 32,
    "b": 209
  },
  "hsl": {
    "h": 301,
    "s": 73.77,
    "l": 47.843
  },
  "oklch": {
    "l": 0.61708,
    "c": 0.26713,
    "h": 329
  },
  "luminance": 0.19634
}

Semantic roles & 50–950 ramp

primary
#D420D1
secondary
#7BD57C
accent
#F03A37
background
#FEF7FD
surface
#FDEEFB
border
#D5C9D4
text
#170A15
muted
#857C83

Preview Lab

Preview with #D420D1

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

Preview Lab → · Contrast checker → · Palette generator →

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