#D342C5#D342C5

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

Color values

HEX#D342C5
RGBrgb(211, 66, 197)
HSLhsl(306, 62%, 54%)
HSVhsv(306, 69%, 83%)
CMYKcmyk(0%, 68.7%, 6.6%, 17.3%)
CIE-LABlab(53.79, 70.37, -38.92)
CIE-LCHlch(53.79, 80.41, 331.05°)
OKLaboklab(63.17% 0.2018 -0.1069)
OKLCHoklch(63.17% 0.228 332.1)
XYZxyz(38.8903, 21.7796, 54.9681)
Luminance0.2178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D342C5 #42D350
analogous
#9942D3 #D342C5 #D3427D
triadic
#D342C5 #C5D342 #42C5D3
tetradic
#D342C5 #D39942 #42D350 #427DD3
square
#D342C5 #D39942 #42D350 #427DD3
split-complementary
#D342C5 #7DD342 #42D399
monochromatic
#7D1D74 #AF29A2 #D342C5 #DF74D4 #EAA5E3

Accessibility & contrast

On white

3.92
#D342C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D342C5#FFFFFF#000000##000000
##D342C51.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A73C9
Deuteranopia (green-blind)
#6F88C1
Tritanopia (blue-blind)
#DC517E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d342c5;
/* rgb */ color: rgb(211, 66, 197);
/* oklch */ color: oklch(63.2% 0.228 332.1);
Tailwind
colors: {
  custom: {
    50: '#e482d7',
    500: '#d342c5',
    950: '#000000',
  },
}
SCSS
$custom: #d342c5;
$custom-light: #e482d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d342c5",
  "rgb": {
    "r": 211,
    "g": 66,
    "b": 197
  },
  "hsl": {
    "h": 305.793,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.63165,
    "c": 0.22835,
    "h": 332.1
  },
  "luminance": 0.21777
}

Semantic roles & 50–950 ramp

primary
#D342C5
secondary
#9AD7A0
accent
#E55242
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D342C5

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

Preview Lab → · Contrast checker → · Palette generator →

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