#D062CF#D062CF

#D062CF is a light, vivid purple. Relative luminance 0.267; OKLCH L 66.8% C 0.191 H 327.8°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#D062CF
RGBrgb(208, 98, 207)
HSLhsl(301, 54%, 60%)
HSVhsv(301, 53%, 82%)
CMYKcmyk(0%, 52.9%, 0.5%, 18.4%)
CIE-LABlab(58.65, 57.98, -37.03)
CIE-LCHlch(58.65, 68.80, 327.43°)
OKLaboklab(66.77% 0.1616 -0.1018)
OKLCHoklch(66.77% 0.191 327.8)
XYZxyz(41.6420, 26.6527, 61.9705)
Luminance0.2665 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D062CF #62D063
analogous
#9A62D0 #D062CF #D06298
triadic
#D062CF #CFD062 #62CFD0
tetradic
#D062CF #D09A62 #62D063 #6298D0
square
#D062CF #D09A62 #62D063 #6298D0
split-complementary
#D062CF #98D062 #62D09A
monochromatic
#8D2A8C #BC38BB #D062CF #DE91DD #ECC0EC

Accessibility & contrast

On white

3.32
#D062CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#D062CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D062CF
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D062CF#FFFFFF#000000##000000
##D062CF1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5884D3
Deuteranopia (green-blind)
#7A92CC
Tritanopia (blue-blind)
#D66E90
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d062cf;
/* rgb */ color: rgb(208, 98, 207);
/* oklch */ color: oklch(66.8% 0.191 327.8);
Tailwind
colors: {
  custom: {
    50: '#e193de',
    500: '#d062cf',
    950: '#000000',
  },
}
SCSS
$custom: #d062cf;
$custom-light: #e193de;
$custom-dark: #000000;
JSON
{
  "hex": "#d062cf",
  "rgb": {
    "r": 208,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 300.545,
    "s": 53.922,
    "l": 60
  },
  "oklch": {
    "l": 0.66773,
    "c": 0.19097,
    "h": 327.8
  },
  "luminance": 0.2665
}

Semantic roles & 50–950 ramp

primary
#D062CF
secondary
#B2DCB2
accent
#DD4C4B
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D062CF

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

Preview Lab → · Contrast checker → · Palette generator →

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