#D034C2#D034C2

#D034C2 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.4% C 0.240 H 332.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#D034C2
RGBrgb(208, 52, 194)
HSLhsl(305, 62%, 51%)
HSVhsv(305, 75%, 82%)
CMYKcmyk(0%, 75%, 6.7%, 18.4%)
CIE-LABlab(51.57, 73.76, -40.72)
CIE-LCHlch(51.57, 84.26, 331.10°)
OKLaboklab(61.43% 0.2118 -0.112)
OKLCHoklch(61.43% 0.24 332.1)
XYZxyz(36.9781, 19.7640, 52.8958)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D034C2 #34D042
analogous
#9034D0 #D034C2 #D03474
triadic
#D034C2 #C2D034 #34C2D0
tetradic
#D034C2 #D09034 #34D042 #3474D0
square
#D034C2 #D09034 #34D042 #3474D0
split-complementary
#D034C2 #74D034 #34D090
monochromatic
#701A68 #A12596 #D034C2 #DC66D1 #E797E0

Accessibility & contrast

On white

4.24
#D034C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#D034C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D034C2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D034C2#FFFFFF#000000##000000
##D034C21.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#286DC6
Deuteranopia (green-blind)
#6883BE
Tritanopia (blue-blind)
#D94779
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d034c2;
/* rgb */ color: rgb(208, 52, 194);
/* oklch */ color: oklch(61.4% 0.240 332.1);
Tailwind
colors: {
  custom: {
    50: '#e37cd5',
    500: '#d034c2',
    950: '#000000',
  },
}
SCSS
$custom: #d034c2;
$custom-light: #e37cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#d034c2",
  "rgb": {
    "r": 208,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 305.385,
    "s": 62.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.61425,
    "c": 0.23959,
    "h": 332.1
  },
  "luminance": 0.19761
}

Semantic roles & 50–950 ramp

primary
#D034C2
secondary
#8DD294
accent
#E55142
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D034C2

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

Preview Lab → · Contrast checker → · Palette generator →

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