#D342C7#D342C7

#D342C7 is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 63.3% C 0.230 H 331.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#D342C7
RGBrgb(211, 66, 199)
HSLhsl(305, 62%, 54%)
HSVhsv(305, 69%, 83%)
CMYKcmyk(0%, 68.7%, 5.7%, 17.3%)
CIE-LABlab(53.89, 70.68, -39.91)
CIE-LCHlch(53.89, 81.17, 330.54°)
OKLaboklab(63.27% 0.2019 -0.1097)
OKLCHoklch(63.27% 0.23 331.5)
XYZxyz(39.1210, 21.8719, 56.1830)
Luminance0.2187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D342C7 #42D34E
analogous
#9742D3 #D342C7 #D3427E
triadic
#D342C7 #C7D342 #42C7D3
tetradic
#D342C7 #D39742 #42D34E #427ED3
square
#D342C7 #D39742 #42D34E #427ED3
split-complementary
#D342C7 #7ED342 #42D397
monochromatic
#7D1D75 #AF29A4 #D342C7 #DF74D6 #EAA5E4

Accessibility & contrast

On white

3.91
#D342C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#D342C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D342C7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D342C7#FFFFFF#000000##000000
##D342C71.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3874CB
Deuteranopia (green-blind)
#6E88C3
Tritanopia (blue-blind)
#DB5280
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d342c7;
/* rgb */ color: rgb(211, 66, 199);
/* oklch */ color: oklch(63.3% 0.230 331.5);
Tailwind
colors: {
  custom: {
    50: '#e482d8',
    500: '#d342c7',
    950: '#000000',
  },
}
SCSS
$custom: #d342c7;
$custom-light: #e482d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d342c7",
  "rgb": {
    "r": 211,
    "g": 66,
    "b": 199
  },
  "hsl": {
    "h": 304.966,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.63268,
    "c": 0.22982,
    "h": 331.5
  },
  "luminance": 0.21869
}

Semantic roles & 50–950 ramp

primary
#D342C7
secondary
#9AD79F
accent
#E55042
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D342C7

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

Preview Lab → · Contrast checker → · Palette generator →

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