#D34DC2#D34DC2

#D34DC2 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.1% C 0.212 H 333.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#D34DC2
RGBrgb(211, 77, 194)
HSLhsl(308, 60%, 56%)
HSVhsv(308, 64%, 83%)
CMYKcmyk(0%, 63.5%, 8.1%, 17.3%)
CIE-LABlab(55.13, 65.77, -35.10)
CIE-LCHlch(55.13, 74.55, 331.91°)
OKLaboklab(64.09% 0.1895 -0.096)
OKLCHoklch(64.09% 0.212 333.1)
XYZxyz(39.2556, 23.0547, 53.4109)
Luminance0.2305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D34DC2 #4DD35E
analogous
#A14DD3 #D34DC2 #D34D7F
triadic
#D34DC2 #C2D34D #4DC2D3
tetradic
#D34DC2 #D3A14D #4DD35E #4D7FD3
square
#D34DC2 #D3A14D #4DD35E #4D7FD3
split-complementary
#D34DC2 #7FD34D #4DD3A1
monochromatic
#852178 #B62DA4 #D34DC2 #DF7ED3 #EBAFE4

Accessibility & contrast

On white

3.74
#D34DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#D34DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D34DC2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D34DC2#FFFFFF#000000##000000
##D34DC21.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4978C5
Deuteranopia (green-blind)
#768BBF
Tritanopia (blue-blind)
#DC5881
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d34dc2;
/* rgb */ color: rgb(211, 77, 194);
/* oklch */ color: oklch(64.1% 0.212 333.1);
Tailwind
colors: {
  custom: {
    50: '#e488d5',
    500: '#d34dc2',
    950: '#000000',
  },
}
SCSS
$custom: #d34dc2;
$custom-light: #e488d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d34dc2",
  "rgb": {
    "r": 211,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 307.612,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64087,
    "c": 0.21241,
    "h": 333.1
  },
  "luminance": 0.23052
}

Semantic roles & 50–950 ramp

primary
#D34DC2
secondary
#A2D9A9
accent
#E45844
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D34DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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