#D427C9#D427C9

#D427C9 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.6% C 0.257 H 331.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#D427C9
RGBrgb(212, 39, 201)
HSLhsl(304, 69%, 49%)
HSVhsv(304, 82%, 83%)
CMYKcmyk(0%, 81.6%, 5.2%, 16.9%)
CIE-LABlab(51.46, 78.92, -44.90)
CIE-LCHlch(51.46, 90.79, 330.36°)
OKLaboklab(61.59% 0.2253 -0.124)
OKLCHoklch(61.59% 0.257 331.2)
XYZxyz(38.4195, 19.6684, 57.0199)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D427C9 #27D432
analogous
#8927D4 #D427C9 #D42773
triadic
#D427C9 #C9D427 #27C9D4
tetradic
#D427C9 #D48927 #27D432 #2773D4
square
#D427C9 #D48927 #27D432 #2773D4
split-complementary
#D427C9 #73D427 #27D489
monochromatic
#6D1467 #A01D98 #D427C9 #E058D8 #EA8CE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D427C9#FFFFFF#000000##000000
##D427C91.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)
#066CCD
Deuteranopia (green-blind)
#6483C5
Tritanopia (blue-blind)
#DD417A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d427c9;
/* rgb */ color: rgb(212, 39, 201);
/* oklch */ color: oklch(61.6% 0.257 331.2);
Tailwind
colors: {
  custom: {
    50: '#e678da',
    500: '#d427c9',
    950: '#000000',
  },
}
SCSS
$custom: #d427c9;
$custom-light: #e678da;
$custom-dark: #000000;
JSON
{
  "hex": "#d427c9",
  "rgb": {
    "r": 212,
    "g": 39,
    "b": 201
  },
  "hsl": {
    "h": 303.815,
    "s": 68.924,
    "l": 49.216
  },
  "oklch": {
    "l": 0.61592,
    "c": 0.25719,
    "h": 331.2
  },
  "luminance": 0.19665
}

Semantic roles & 50–950 ramp

primary
#D427C9
secondary
#83D488
accent
#EC473C
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#170A15
muted
#857C83

Preview Lab

Preview with #D427C9

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

Preview Lab → · Contrast checker → · Palette generator →

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