#D062D6#D062D6

#D062D6 is a light, vivid purple. Relative luminance 0.270; OKLCH L 67.1% C 0.197 H 325.5°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#D062D6
RGBrgb(208, 98, 214)
HSLhsl(297, 59%, 61%)
HSVhsv(297, 54%, 84%)
CMYKcmyk(2.8%, 54.2%, 0%, 16.1%)
CIE-LABlab(58.98, 59.22, -40.48)
CIE-LCHlch(58.98, 71.73, 325.64°)
OKLaboklab(67.12% 0.1624 -0.1117)
OKLCHoklch(67.12% 0.197 325.5)
XYZxyz(42.5168, 27.0026, 66.5778)
Luminance0.2700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D062D6 #68D662
analogous
#9662D6 #D062D6 #D662A2
triadic
#D062D6 #D6D062 #62D6D0
tetradic
#D062D6 #D69662 #68D662 #62A2D6
square
#D062D6 #D69662 #68D662 #62A2D6
split-complementary
#D062D6 #A2D662 #62D696
monochromatic
#912796 #BF34C7 #D062D6 #DF93E3 #EDC3EF

Accessibility & contrast

On white

3.28
#D062D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#D062D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D062D6
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D062D6#FFFFFF#000000##000000
##D062D61.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5385DA
Deuteranopia (green-blind)
#7793D3
Tritanopia (blue-blind)
#D57093
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d062d6;
/* rgb */ color: rgb(208, 98, 214);
/* oklch */ color: oklch(67.1% 0.197 325.5);
Tailwind
colors: {
  custom: {
    50: '#e194e3',
    500: '#d062d6',
    950: '#000000',
  },
}
SCSS
$custom: #d062d6;
$custom-light: #e194e3;
$custom-dark: #000000;
JSON
{
  "hex": "#d062d6",
  "rgb": {
    "r": 208,
    "g": 98,
    "b": 214
  },
  "hsl": {
    "h": 296.897,
    "s": 58.586,
    "l": 61.176
  },
  "oklch": {
    "l": 0.67118,
    "c": 0.19714,
    "h": 325.5
  },
  "luminance": 0.27
}

Semantic roles & 50–950 ramp

primary
#D062D6
secondary
#B6E0B4
accent
#C61F28
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D062D6

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

Preview Lab → · Contrast checker → · Palette generator →

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