#D942C3#D942C3

#D942C3 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.9% C 0.230 H 334.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#D942C3
RGBrgb(217, 66, 195)
HSLhsl(309, 67%, 55%)
HSVhsv(309, 70%, 85%)
CMYKcmyk(0%, 69.6%, 10.1%, 14.9%)
CIE-LABlab(54.65, 71.46, -36.36)
CIE-LCHlch(54.65, 80.18, 333.04°)
OKLaboklab(63.94% 0.2077 -0.0994)
OKLCHoklch(63.94% 0.23 334.4)
XYZxyz(40.4142, 22.5917, 53.8513)
Luminance0.2259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D942C3 #42D958
analogous
#A442D9 #D942C3 #D94277
triadic
#D942C3 #C3D942 #42C3D9
tetradic
#D942C3 #D9A442 #42D958 #4277D9
square
#D942C3 #D9A442 #42D958 #4277D9
split-complementary
#D942C3 #77D942 #42D9A4
monochromatic
#861B76 #B925A3 #D942C3 #E375D3 #EDA8E3

Accessibility & contrast

On white

3.81
#D942C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#D942C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D942C3
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D942C3#FFFFFF#000000##000000
##D942C31.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4075C7
Deuteranopia (green-blind)
#758BBF
Tritanopia (blue-blind)
#E34E7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d942c3;
/* rgb */ color: rgb(217, 66, 195);
/* oklch */ color: oklch(63.9% 0.230 334.4);
Tailwind
colors: {
  custom: {
    50: '#e983d5',
    500: '#d942c3',
    950: '#000000',
  },
}
SCSS
$custom: #d942c3;
$custom-light: #e983d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d942c3",
  "rgb": {
    "r": 217,
    "g": 66,
    "b": 195
  },
  "hsl": {
    "h": 308.742,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63937,
    "c": 0.23021,
    "h": 334.4
  },
  "luminance": 0.22588
}

Semantic roles & 50–950 ramp

primary
#D942C3
secondary
#9CDBA5
accent
#E9573E
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #D942C3

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

Preview Lab → · Contrast checker → · Palette generator →

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