#D342D9#D342D9

#D342D9 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 64.2% C 0.243 H 326.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#D342D9
RGBrgb(211, 66, 217)
HSLhsl(298, 67%, 55%)
HSVhsv(298, 70%, 85%)
CMYKcmyk(2.8%, 69.6%, 0%, 14.9%)
CIE-LABlab(54.82, 73.55, -48.72)
CIE-LCHlch(54.82, 88.22, 326.48°)
OKLaboklab(64.24% 0.2024 -0.1352)
OKLCHoklch(64.24% 0.243 326.3)
XYZxyz(41.3358, 22.7578, 67.8477)
Luminance0.2276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D342D9 #48D942
analogous
#8742D9 #D342D9 #D94293
triadic
#D342D9 #D9D342 #42D9D3
tetradic
#D342D9 #D98742 #48D942 #4293D9
square
#D342D9 #D98742 #48D942 #4293D9
split-complementary
#D342D9 #93D942 #42D987
monochromatic
#811B86 #B325B9 #D342D9 #DF75E3 #EBA8ED

Accessibility & contrast

On white

3.78
#D342D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#D342D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D342D9
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D342D9#FFFFFF#000000##000000
##D342D91.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2078DD
Deuteranopia (green-blind)
#6489D5
Tritanopia (blue-blind)
#D85A89
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d342d9;
/* rgb */ color: rgb(211, 66, 217);
/* oklch */ color: oklch(64.2% 0.243 326.3);
Tailwind
colors: {
  custom: {
    50: '#e483e5',
    500: '#d342d9',
    950: '#000000',
  },
}
SCSS
$custom: #d342d9;
$custom-light: #e483e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d342d9",
  "rgb": {
    "r": 211,
    "g": 66,
    "b": 217
  },
  "hsl": {
    "h": 297.616,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.64239,
    "c": 0.24346,
    "h": 326.3
  },
  "luminance": 0.22755
}

Semantic roles & 50–950 ramp

primary
#D342D9
secondary
#9EDB9C
accent
#E93E45
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D342D9

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

Preview Lab → · Contrast checker → · Palette generator →

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