#D342BF#D342BF

#D342BF is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.9% C 0.224 H 334.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#D342BF
RGBrgb(211, 66, 191)
HSLhsl(308, 62%, 54%)
HSVhsv(308, 69%, 83%)
CMYKcmyk(0%, 68.7%, 9.5%, 17.3%)
CIE-LABlab(53.50, 69.46, -35.91)
CIE-LCHlch(53.50, 78.19, 332.66°)
OKLaboklab(62.86% 0.2013 -0.0982)
OKLCHoklch(62.86% 0.224 334)
XYZxyz(38.2164, 21.5101, 51.4192)
Luminance0.2151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D342BF #42D356
analogous
#9F42D3 #D342BF #D34277
triadic
#D342BF #BFD342 #42BFD3
tetradic
#D342BF #D39F42 #42D356 #4277D3
square
#D342BF #D39F42 #42D356 #4277D3
split-complementary
#D342BF #77D342 #42D39F
monochromatic
#7D1D70 #AF299D #D342BF #DF74D0 #EAA5E1

Accessibility & contrast

On white

3.96
#D342BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#D342BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D342BF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D342BF#FFFFFF#000000##000000
##D342BF1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F72C3
Deuteranopia (green-blind)
#7287BB
Tritanopia (blue-blind)
#DD4E7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d342bf;
/* rgb */ color: rgb(211, 66, 191);
/* oklch */ color: oklch(62.9% 0.224 334.0);
Tailwind
colors: {
  custom: {
    50: '#e482d2',
    500: '#d342bf',
    950: '#000000',
  },
}
SCSS
$custom: #d342bf;
$custom-light: #e482d2;
$custom-dark: #000000;
JSON
{
  "hex": "#d342bf",
  "rgb": {
    "r": 211,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 308.276,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.62862,
    "c": 0.22401,
    "h": 334
  },
  "luminance": 0.21507
}

Semantic roles & 50–950 ramp

primary
#D342BF
secondary
#9AD7A2
accent
#E55942
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #D342BF

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

Preview Lab → · Contrast checker → · Palette generator →

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