#D342C1#D342C1

#D342C1 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 63.0% C 0.225 H 333.3°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#D342C1
RGBrgb(211, 66, 193)
HSLhsl(307, 62%, 54%)
HSVhsv(307, 69%, 83%)
CMYKcmyk(0%, 68.7%, 8.5%, 17.3%)
CIE-LABlab(53.60, 69.76, -36.92)
CIE-LCHlch(53.60, 78.93, 332.11°)
OKLaboklab(62.96% 0.2015 -0.1011)
OKLCHoklch(62.96% 0.225 333.3)
XYZxyz(38.4380, 21.5987, 52.5863)
Luminance0.2160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D342C1 #42D354
analogous
#9C42D3 #D342C1 #D34279
triadic
#D342C1 #C1D342 #42C1D3
tetradic
#D342C1 #D39C42 #42D354 #4279D3
square
#D342C1 #D39C42 #42D354 #4279D3
split-complementary
#D342C1 #79D342 #42D39C
monochromatic
#7D1D71 #AF299E #D342C1 #DF74D1 #EAA5E2

Accessibility & contrast

On white

3.95
#D342C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#D342C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D342C1
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D342C1#FFFFFF#000000##000000
##D342C11.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D73C5
Deuteranopia (green-blind)
#7188BD
Tritanopia (blue-blind)
#DC4F7C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d342c1;
/* rgb */ color: rgb(211, 66, 193);
/* oklch */ color: oklch(63.0% 0.225 333.3);
Tailwind
colors: {
  custom: {
    50: '#e482d4',
    500: '#d342c1',
    950: '#000000',
  },
}
SCSS
$custom: #d342c1;
$custom-light: #e482d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d342c1",
  "rgb": {
    "r": 211,
    "g": 66,
    "b": 193
  },
  "hsl": {
    "h": 307.448,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.62962,
    "c": 0.22544,
    "h": 333.3
  },
  "luminance": 0.21596
}

Semantic roles & 50–950 ramp

primary
#D342C1
secondary
#9AD7A1
accent
#E55742
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D342C1

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

Preview Lab → · Contrast checker → · Palette generator →

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