#D342CB#D342CB

#D342CB is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.5% C 0.233 H 330.3°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#D342CB
RGBrgb(211, 66, 203)
HSLhsl(303, 62%, 54%)
HSVhsv(303, 69%, 83%)
CMYKcmyk(0%, 68.7%, 3.8%, 17.3%)
CIE-LABlab(54.09, 71.30, -41.89)
CIE-LCHlch(54.09, 82.70, 329.56°)
OKLaboklab(63.48% 0.2021 -0.1155)
OKLCHoklch(63.48% 0.233 330.3)
XYZxyz(39.5915, 22.0601, 58.6611)
Luminance0.2206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D342CB #42D34A
analogous
#9242D3 #D342CB #D34283
triadic
#D342CB #CBD342 #42CBD3
tetradic
#D342CB #D39242 #42D34A #4283D3
square
#D342CB #D39242 #42D34A #4283D3
split-complementary
#D342CB #83D342 #42D392
monochromatic
#7D1D78 #AF29A8 #D342CB #DF74D9 #EAA5E6

Accessibility & contrast

On white

3.88
#D342CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#D342CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D342CB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D342CB#FFFFFF#000000##000000
##D342CB1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3475CF
Deuteranopia (green-blind)
#6C88C7
Tritanopia (blue-blind)
#DB5482
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d342cb;
/* rgb */ color: rgb(211, 66, 203);
/* oklch */ color: oklch(63.5% 0.233 330.3);
Tailwind
colors: {
  custom: {
    50: '#e483db',
    500: '#d342cb',
    950: '#000000',
  },
}
SCSS
$custom: #d342cb;
$custom-light: #e483db;
$custom-dark: #000000;
JSON
{
  "hex": "#d342cb",
  "rgb": {
    "r": 211,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 303.31,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.63477,
    "c": 0.23279,
    "h": 330.3
  },
  "luminance": 0.22057
}

Semantic roles & 50–950 ramp

primary
#D342CB
secondary
#9AD79D
accent
#E54B42
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D342CB

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

Preview Lab → · Contrast checker → · Palette generator →

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