#D642C5#D642C5

#D642C5 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.6% C 0.230 H 333.0°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#D642C5
RGBrgb(214, 66, 197)
HSLhsl(307, 64%, 55%)
HSVhsv(307, 69%, 84%)
CMYKcmyk(0%, 69.2%, 7.9%, 16.1%)
CIE-LABlab(54.27, 71.06, -38.14)
CIE-LCHlch(54.27, 80.65, 331.78°)
OKLaboklab(63.6% 0.2048 -0.1046)
OKLCHoklch(63.6% 0.23 333)
XYZxyz(39.7580, 22.2270, 55.0088)
Luminance0.2222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D642C5 #42D653
analogous
#9D42D6 #D642C5 #D6427B
triadic
#D642C5 #C5D642 #42C5D6
tetradic
#D642C5 #D69D42 #42D653 #427BD6
square
#D642C5 #D69D42 #42D653 #427BD6
split-complementary
#D642C5 #7BD642 #42D69D
monochromatic
#821C76 #B427A4 #D642C5 #E174D4 #ECA7E4

Accessibility & contrast

On white

3.86
#D642C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#D642C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D642C5
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D642C5#FFFFFF#000000##000000
##D642C51.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C74C9
Deuteranopia (green-blind)
#7189C1
Tritanopia (blue-blind)
#DF507F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d642c5;
/* rgb */ color: rgb(214, 66, 197);
/* oklch */ color: oklch(63.6% 0.230 333.0);
Tailwind
colors: {
  custom: {
    50: '#e683d7',
    500: '#d642c5',
    950: '#000000',
  },
}
SCSS
$custom: #d642c5;
$custom-light: #e683d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d642c5",
  "rgb": {
    "r": 214,
    "g": 66,
    "b": 197
  },
  "hsl": {
    "h": 306.892,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.636,
    "c": 0.22998,
    "h": 333
  },
  "luminance": 0.22224
}

Semantic roles & 50–950 ramp

primary
#D642C5
secondary
#9BD9A2
accent
#E75440
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D642C5

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

Preview Lab → · Contrast checker → · Palette generator →

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