#D034B7#D034B7

#D034B7 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.9% C 0.232 H 335.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#D034B7
RGBrgb(208, 52, 183)
HSLhsl(310, 62%, 51%)
HSVhsv(310, 75%, 82%)
CMYKcmyk(0%, 75%, 12%, 18.4%)
CIE-LABlab(51.02, 72.16, -35.20)
CIE-LCHlch(51.02, 80.29, 334.00°)
OKLaboklab(60.86% 0.2112 -0.0961)
OKLCHoklch(60.86% 0.232 335.5)
XYZxyz(35.7882, 19.2880, 46.6287)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D034B7 #34D04D
analogous
#9B34D0 #D034B7 #D03469
triadic
#D034B7 #B7D034 #34B7D0
tetradic
#D034B7 #D09B34 #34D04D #3469D0
square
#D034B7 #D09B34 #34D04D #3469D0
split-complementary
#D034B7 #69D034 #34D09B
monochromatic
#701A62 #A1258E #D034B7 #DC66C9 #E797DA

Accessibility & contrast

On white

4.32
#D034B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#D034B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D034B7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D034B7#FFFFFF#000000##000000
##D034B71.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#356BBB
Deuteranopia (green-blind)
#6D82B3
Tritanopia (blue-blind)
#DA4173
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d034b7;
/* rgb */ color: rgb(208, 52, 183);
/* oklch */ color: oklch(60.9% 0.232 335.5);
Tailwind
colors: {
  custom: {
    50: '#e37ccd',
    500: '#d034b7',
    950: '#000000',
  },
}
SCSS
$custom: #d034b7;
$custom-light: #e37ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#d034b7",
  "rgb": {
    "r": 208,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 309.615,
    "s": 62.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.60855,
    "c": 0.23203,
    "h": 335.5
  },
  "luminance": 0.19285
}

Semantic roles & 50–950 ramp

primary
#D034B7
secondary
#8DD298
accent
#E55C42
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D034B7

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

Preview Lab → · Contrast checker → · Palette generator →

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