#D342C6#D342C6

#D342C6 is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 63.2% C 0.229 H 331.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#D342C6
RGBrgb(211, 66, 198)
HSLhsl(305, 62%, 54%)
HSVhsv(305, 69%, 83%)
CMYKcmyk(0%, 68.7%, 6.2%, 17.3%)
CIE-LABlab(53.84, 70.52, -39.42)
CIE-LCHlch(53.84, 80.79, 330.80°)
OKLaboklab(63.22% 0.2019 -0.1083)
OKLCHoklch(63.22% 0.229 331.8)
XYZxyz(39.0052, 21.8256, 55.5735)
Luminance0.2182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D342C6 #42D34F
analogous
#9742D3 #D342C6 #D3427E
triadic
#D342C6 #C6D342 #42C6D3
tetradic
#D342C6 #D39742 #42D34F #427ED3
square
#D342C6 #D39742 #42D34F #427ED3
split-complementary
#D342C6 #7ED342 #42D397
monochromatic
#7D1D75 #AF29A3 #D342C6 #DF74D5 #EAA5E4

Accessibility & contrast

On white

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

On black

5.36
#D342C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D342C6
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D342C6#FFFFFF#000000##000000
##D342C61.003.915.365.36
#FFFFFF3.911.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3974CA
Deuteranopia (green-blind)
#6E88C2
Tritanopia (blue-blind)
#DC517F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d342c6;
/* rgb */ color: rgb(211, 66, 198);
/* oklch */ color: oklch(63.2% 0.229 331.8);
Tailwind
colors: {
  custom: {
    50: '#e482d8',
    500: '#d342c6',
    950: '#000000',
  },
}
SCSS
$custom: #d342c6;
$custom-light: #e482d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d342c6",
  "rgb": {
    "r": 211,
    "g": 66,
    "b": 198
  },
  "hsl": {
    "h": 305.379,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.63217,
    "c": 0.22908,
    "h": 331.8
  },
  "luminance": 0.21823
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D342C6

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

Preview Lab → · Contrast checker → · Palette generator →

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