#D062CC#D062CC

#D062CC is a light, vivid purple. Relative luminance 0.265; OKLCH L 66.6% C 0.188 H 328.8°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#D062CC
RGBrgb(208, 98, 204)
HSLhsl(302, 54%, 60%)
HSVhsv(302, 53%, 82%)
CMYKcmyk(0%, 52.9%, 1.9%, 18.4%)
CIE-LABlab(58.52, 57.46, -35.55)
CIE-LCHlch(58.52, 67.56, 328.26°)
OKLaboklab(66.63% 0.1612 -0.0975)
OKLCHoklch(66.63% 0.188 328.8)
XYZxyz(41.2787, 26.5074, 60.0573)
Luminance0.2651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D062CC #62D066
analogous
#9D62D0 #D062CC #D06295
triadic
#D062CC #CCD062 #62CCD0
tetradic
#D062CC #D09D62 #62D066 #6295D0
square
#D062CC #D09D62 #62D066 #6295D0
split-complementary
#D062CC #95D062 #62D09D
monochromatic
#8D2A8A #BC38B8 #D062CC #DE91DB #ECC0EB

Accessibility & contrast

On white

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

On black

6.30
#D062CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D062CC
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D062CC#FFFFFF#000000##000000
##D062CC1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5983CF
Deuteranopia (green-blind)
#7B92C9
Tritanopia (blue-blind)
#D66D8E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d062cc;
/* rgb */ color: rgb(208, 98, 204);
/* oklch */ color: oklch(66.6% 0.188 328.8);
Tailwind
colors: {
  custom: {
    50: '#e193dc',
    500: '#d062cc',
    950: '#000000',
  },
}
SCSS
$custom: #d062cc;
$custom-light: #e193dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d062cc",
  "rgb": {
    "r": 208,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 302.182,
    "s": 53.922,
    "l": 60
  },
  "oklch": {
    "l": 0.66628,
    "c": 0.18837,
    "h": 328.8
  },
  "luminance": 0.26505
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D062CC

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

Preview Lab → · Contrast checker → · Palette generator →

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