#D342DB#D342DB

#D342DB is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.4% C 0.245 H 325.7°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#D342DB
RGBrgb(211, 66, 219)
HSLhsl(297, 68%, 56%)
HSVhsv(297, 70%, 86%)
CMYKcmyk(3.7%, 69.9%, 0%, 14.1%)
CIE-LABlab(54.93, 73.88, -49.68)
CIE-LCHlch(54.93, 89.03, 326.08°)
OKLaboklab(64.35% 0.2024 -0.138)
OKLCHoklch(64.35% 0.245 325.7)
XYZxyz(41.5975, 22.8625, 69.2260)
Luminance0.2286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D342DB #4ADB42
analogous
#8642DB #D342DB #DB4296
triadic
#D342DB #DBD342 #42DBD3
tetradic
#D342DB #DB8642 #4ADB42 #4296DB
square
#D342DB #DB8642 #4ADB42 #4296DB
split-complementary
#D342DB #96DB42 #42DB86
monochromatic
#831A89 #B424BC #D342DB #DF75E5 #EBA9EF

Accessibility & contrast

On white

3.77
#D342DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#D342DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D342DB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D342DB#FFFFFF#000000##000000
##D342DB1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C78DF
Deuteranopia (green-blind)
#638AD7
Tritanopia (blue-blind)
#D85B8A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d342db;
/* rgb */ color: rgb(211, 66, 219);
/* oklch */ color: oklch(64.4% 0.245 325.7);
Tailwind
colors: {
  custom: {
    50: '#e483e7',
    500: '#d342db',
    950: '#000000',
  },
}
SCSS
$custom: #d342db;
$custom-light: #e483e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d342db",
  "rgb": {
    "r": 211,
    "g": 66,
    "b": 219
  },
  "hsl": {
    "h": 296.863,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.64352,
    "c": 0.24501,
    "h": 325.7
  },
  "luminance": 0.2286
}

Semantic roles & 50–950 ramp

primary
#D342DB
secondary
#A0DC9D
accent
#EB3D46
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D342DB

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

Preview Lab → · Contrast checker → · Palette generator →

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