#D342C8#D342C8

#D342C8 is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 63.3% C 0.231 H 331.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#D342C8
RGBrgb(211, 66, 200)
HSLhsl(305, 62%, 54%)
HSVhsv(305, 69%, 83%)
CMYKcmyk(0%, 68.7%, 5.2%, 17.3%)
CIE-LABlab(53.94, 70.83, -40.41)
CIE-LCHlch(53.94, 81.55, 330.29°)
OKLaboklab(63.32% 0.202 -0.1112)
OKLCHoklch(63.32% 0.231 331.2)
XYZxyz(39.2374, 21.9185, 56.7965)
Luminance0.2192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D342C8 #42D34D
analogous
#9642D3 #D342C8 #D34280
triadic
#D342C8 #C8D342 #42C8D3
tetradic
#D342C8 #D39642 #42D34D #4280D3
square
#D342C8 #D39642 #42D34D #4280D3
split-complementary
#D342C8 #80D342 #42D396
monochromatic
#7D1D76 #AF29A5 #D342C8 #DF74D6 #EAA5E5

Accessibility & contrast

On white

3.90
#D342C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#D342C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D342C8
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D342C8#FFFFFF#000000##000000
##D342C81.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3774CC
Deuteranopia (green-blind)
#6E88C4
Tritanopia (blue-blind)
#DB5280
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d342c8;
/* rgb */ color: rgb(211, 66, 200);
/* oklch */ color: oklch(63.3% 0.231 331.2);
Tailwind
colors: {
  custom: {
    50: '#e483d9',
    500: '#d342c8',
    950: '#000000',
  },
}
SCSS
$custom: #d342c8;
$custom-light: #e483d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d342c8",
  "rgb": {
    "r": 211,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 304.552,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.6332,
    "c": 0.23055,
    "h": 331.2
  },
  "luminance": 0.21915
}

Semantic roles & 50–950 ramp

primary
#D342C8
secondary
#9AD79E
accent
#E54F42
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D342C8

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

Preview Lab → · Contrast checker → · Palette generator →

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