#D427C8#D427C8

#D427C8 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.5% C 0.257 H 331.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#D427C8
RGBrgb(212, 39, 200)
HSLhsl(304, 69%, 49%)
HSVhsv(304, 82%, 83%)
CMYKcmyk(0%, 81.6%, 5.7%, 16.9%)
CIE-LABlab(51.41, 78.77, -44.41)
CIE-LCHlch(51.41, 90.43, 330.59°)
OKLaboklab(61.54% 0.2254 -0.1225)
OKLCHoklch(61.54% 0.257 331.5)
XYZxyz(38.3023, 19.6215, 56.4024)
Luminance0.1962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D427C8 #27D433
analogous
#8A27D4 #D427C8 #D42772
triadic
#D427C8 #C8D427 #27C8D4
tetradic
#D427C8 #D48A27 #27D433 #2772D4
square
#D427C8 #D48A27 #27D433 #2772D4
split-complementary
#D427C8 #72D427 #27D48A
monochromatic
#6D1466 #A01D97 #D427C8 #E058D7 #EA8CE3

Accessibility & contrast

On white

4.27
#D427C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#D427C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D427C8
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D427C8#FFFFFF#000000##000000
##D427C81.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B6CCC
Deuteranopia (green-blind)
#6483C4
Tritanopia (blue-blind)
#DD4179
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d427c8;
/* rgb */ color: rgb(212, 39, 200);
/* oklch */ color: oklch(61.5% 0.257 331.5);
Tailwind
colors: {
  custom: {
    50: '#e678d9',
    500: '#d427c8',
    950: '#000000',
  },
}
SCSS
$custom: #d427c8;
$custom-light: #e678d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d427c8",
  "rgb": {
    "r": 212,
    "g": 39,
    "b": 200
  },
  "hsl": {
    "h": 304.162,
    "s": 68.924,
    "l": 49.216
  },
  "oklch": {
    "l": 0.61536,
    "c": 0.25651,
    "h": 331.5
  },
  "luminance": 0.19618
}

Semantic roles & 50–950 ramp

primary
#D427C8
secondary
#83D489
accent
#EC483C
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#170A15
muted
#857C83

Preview Lab

Preview with #D427C8

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

Preview Lab → · Contrast checker → · Palette generator →

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