#D062D4#D062D4

#D062D4 is a light, vivid purple. Relative luminance 0.269; OKLCH L 67.0% C 0.195 H 326.1°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#D062D4
RGBrgb(208, 98, 212)
HSLhsl(298, 57%, 61%)
HSVhsv(298, 54%, 83%)
CMYKcmyk(1.9%, 53.8%, 0%, 16.9%)
CIE-LABlab(58.88, 58.86, -39.50)
CIE-LCHlch(58.88, 70.89, 326.13°)
OKLaboklab(67.02% 0.1622 -0.1089)
OKLCHoklch(67.02% 0.195 326.1)
XYZxyz(42.2629, 26.9011, 65.2409)
Luminance0.2690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D062D4 #66D462
analogous
#9762D4 #D062D4 #D4629F
triadic
#D062D4 #D4D062 #62D4D0
tetradic
#D062D4 #D49762 #66D462 #629FD4
square
#D062D4 #D49762 #66D462 #629FD4
split-complementary
#D062D4 #9FD462 #62D497
monochromatic
#902893 #BE35C3 #D062D4 #DE92E1 #EDC2EE

Accessibility & contrast

On white

3.29
#D062D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#D062D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D062D4
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D062D4#FFFFFF#000000##000000
##D062D41.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5485D8
Deuteranopia (green-blind)
#7893D1
Tritanopia (blue-blind)
#D57092
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d062d4;
/* rgb */ color: rgb(208, 98, 212);
/* oklch */ color: oklch(67.0% 0.195 326.1);
Tailwind
colors: {
  custom: {
    50: '#e194e1',
    500: '#d062d4',
    950: '#000000',
  },
}
SCSS
$custom: #d062d4;
$custom-light: #e194e1;
$custom-dark: #000000;
JSON
{
  "hex": "#d062d4",
  "rgb": {
    "r": 208,
    "g": 98,
    "b": 212
  },
  "hsl": {
    "h": 297.895,
    "s": 57,
    "l": 60.784
  },
  "oklch": {
    "l": 0.67018,
    "c": 0.19536,
    "h": 326.1
  },
  "luminance": 0.26899
}

Semantic roles & 50–950 ramp

primary
#D062D4
secondary
#B5DEB3
accent
#C52127
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D062D4

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

Preview Lab → · Contrast checker → · Palette generator →

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