#D062CD#D062CD

#D062CD is a light, vivid purple. Relative luminance 0.266; OKLCH L 66.7% C 0.189 H 328.5°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#D062CD
RGBrgb(208, 98, 205)
HSLhsl(302, 54%, 60%)
HSVhsv(302, 53%, 82%)
CMYKcmyk(0%, 52.9%, 1.4%, 18.4%)
CIE-LABlab(58.56, 57.63, -36.04)
CIE-LCHlch(58.56, 67.97, 327.98°)
OKLaboklab(66.68% 0.1613 -0.0989)
OKLCHoklch(66.68% 0.189 328.5)
XYZxyz(41.3990, 26.5555, 60.6909)
Luminance0.2655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D062CD #62D065
analogous
#9C62D0 #D062CD #D06296
triadic
#D062CD #CDD062 #62CDD0
tetradic
#D062CD #D09C62 #62D065 #6296D0
square
#D062CD #D09C62 #62D065 #6296D0
split-complementary
#D062CD #96D062 #62D09C
monochromatic
#8D2A8B #BC38B9 #D062CD #DE91DC #ECC0EB

Accessibility & contrast

On white

3.33
#D062CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#D062CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D062CD
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D062CD#FFFFFF#000000##000000
##D062CD1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5983D0
Deuteranopia (green-blind)
#7B92CA
Tritanopia (blue-blind)
#D66D8F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d062cd;
/* rgb */ color: rgb(208, 98, 205);
/* oklch */ color: oklch(66.7% 0.189 328.5);
Tailwind
colors: {
  custom: {
    50: '#e193dc',
    500: '#d062cd',
    950: '#000000',
  },
}
SCSS
$custom: #d062cd;
$custom-light: #e193dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d062cd",
  "rgb": {
    "r": 208,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 301.636,
    "s": 53.922,
    "l": 60
  },
  "oklch": {
    "l": 0.66676,
    "c": 0.18922,
    "h": 328.5
  },
  "luminance": 0.26553
}

Semantic roles & 50–950 ramp

primary
#D062CD
secondary
#B2DCB3
accent
#DD4F4B
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D062CD

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

Preview Lab → · Contrast checker → · Palette generator →

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