#D342D4#D342D4

#D342D4 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 64.0% C 0.240 H 327.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#D342D4
RGBrgb(211, 66, 212)
HSLhsl(300, 63%, 55%)
HSVhsv(300, 69%, 83%)
CMYKcmyk(0.5%, 68.9%, 0%, 16.9%)
CIE-LABlab(54.56, 72.74, -46.30)
CIE-LCHlch(54.56, 86.22, 327.52°)
OKLaboklab(63.96% 0.2024 -0.1282)
OKLCHoklch(63.96% 0.24 327.6)
XYZxyz(40.6953, 22.5016, 64.4744)
Luminance0.2250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D342D4 #43D442
analogous
#8A42D4 #D342D4 #D4428C
triadic
#D342D4 #D4D342 #42D4D3
tetradic
#D342D4 #D48A42 #43D442 #428CD4
square
#D342D4 #D48A42 #43D442 #428CD4
split-complementary
#D342D4 #8CD442 #42D48A
monochromatic
#7E1D7F #B028B1 #D342D4 #DF74DF #EAA6EB

Accessibility & contrast

On white

3.82
#D342D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#D342D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D342D4
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D342D4#FFFFFF#000000##000000
##D342D41.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2876D8
Deuteranopia (green-blind)
#6789D0
Tritanopia (blue-blind)
#D95887
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d342d4;
/* rgb */ color: rgb(211, 66, 212);
/* oklch */ color: oklch(64.0% 0.240 327.6);
Tailwind
colors: {
  custom: {
    50: '#e483e2',
    500: '#d342d4',
    950: '#000000',
  },
}
SCSS
$custom: #d342d4;
$custom-light: #e483e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d342d4",
  "rgb": {
    "r": 211,
    "g": 66,
    "b": 212
  },
  "hsl": {
    "h": 299.589,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.63962,
    "c": 0.2396,
    "h": 327.6
  },
  "luminance": 0.22499
}

Semantic roles & 50–950 ramp

primary
#D342D4
secondary
#9AD89A
accent
#E64243
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D342D4

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

Preview Lab → · Contrast checker → · Palette generator →

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