#D034B8#D034B8

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

Color values

HEX#D034B8
RGBrgb(208, 52, 184)
HSLhsl(309, 62%, 51%)
HSVhsv(309, 75%, 82%)
CMYKcmyk(0%, 75%, 11.5%, 18.4%)
CIE-LABlab(51.07, 72.30, -35.70)
CIE-LCHlch(51.07, 80.64, 333.72°)
OKLaboklab(60.91% 0.2113 -0.0976)
OKLCHoklch(60.91% 0.233 335.2)
XYZxyz(35.8926, 19.3298, 47.1788)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D034B8 #34D04C
analogous
#9A34D0 #D034B8 #D0346A
triadic
#D034B8 #B8D034 #34B8D0
tetradic
#D034B8 #D09A34 #34D04C #346AD0
square
#D034B8 #D09A34 #34D04C #346AD0
split-complementary
#D034B8 #6AD034 #34D09A
monochromatic
#701A63 #A1258E #D034B8 #DC66C9 #E797DB

Accessibility & contrast

On white

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

On black

4.87
#D034B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D034B8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D034B8#FFFFFF#000000##000000
##D034B81.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#346BBC
Deuteranopia (green-blind)
#6D82B4
Tritanopia (blue-blind)
#DA4173
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d034b8;
/* rgb */ color: rgb(208, 52, 184);
/* oklch */ color: oklch(60.9% 0.233 335.2);
Tailwind
colors: {
  custom: {
    50: '#e37ccd',
    500: '#d034b8',
    950: '#000000',
  },
}
SCSS
$custom: #d034b8;
$custom-light: #e37ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#d034b8",
  "rgb": {
    "r": 208,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 309.231,
    "s": 62.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.60905,
    "c": 0.2327,
    "h": 335.2
  },
  "luminance": 0.19327
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D034B8

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

Preview Lab → · Contrast checker → · Palette generator →

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