#D342D8#D342D8

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

Color values

HEX#D342D8
RGBrgb(211, 66, 216)
HSLhsl(298, 66%, 55%)
HSVhsv(298, 69%, 85%)
CMYKcmyk(2.3%, 69.4%, 0%, 15.3%)
CIE-LABlab(54.77, 73.39, -48.24)
CIE-LCHlch(54.77, 87.82, 326.68°)
OKLaboklab(64.18% 0.2024 -0.1338)
OKLCHoklch(64.18% 0.243 326.5)
XYZxyz(41.2061, 22.7060, 67.1648)
Luminance0.2270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D342D8 #47D842
analogous
#8842D8 #D342D8 #D84292
triadic
#D342D8 #D8D342 #42D8D3
tetradic
#D342D8 #D88842 #47D842 #4292D8
square
#D342D8 #D88842 #47D842 #4292D8
split-complementary
#D342D8 #92D842 #42D888
monochromatic
#811B84 #B226B7 #D342D8 #DF75E2 #EBA7ED

Accessibility & contrast

On white

3.79
#D342D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#D342D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D342D8
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D342D8#FFFFFF#000000##000000
##D342D81.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2277DC
Deuteranopia (green-blind)
#6589D4
Tritanopia (blue-blind)
#D95989
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d342d8;
/* rgb */ color: rgb(211, 66, 216);
/* oklch */ color: oklch(64.2% 0.243 326.5);
Tailwind
colors: {
  custom: {
    50: '#e483e4',
    500: '#d342d8',
    950: '#000000',
  },
}
SCSS
$custom: #d342d8;
$custom-light: #e483e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d342d8",
  "rgb": {
    "r": 211,
    "g": 66,
    "b": 216
  },
  "hsl": {
    "h": 298,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.64183,
    "c": 0.24269,
    "h": 326.5
  },
  "luminance": 0.22703
}

Semantic roles & 50–950 ramp

primary
#D342D8
secondary
#9EDA9C
accent
#E93F45
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D342D8

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

Preview Lab → · Contrast checker → · Palette generator →

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