#D062CA#D062CA

#D062CA is a light, vivid purple. Relative luminance 0.264; OKLCH L 66.5% C 0.187 H 329.5°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#D062CA
RGBrgb(208, 98, 202)
HSLhsl(303, 54%, 60%)
HSVhsv(303, 53%, 82%)
CMYKcmyk(0%, 52.9%, 2.9%, 18.4%)
CIE-LABlab(58.43, 57.11, -34.55)
CIE-LCHlch(58.43, 66.75, 328.83°)
OKLaboklab(66.53% 0.1609 -0.0946)
OKLCHoklch(66.53% 0.187 329.5)
XYZxyz(41.0404, 26.4121, 58.8020)
Luminance0.2641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D062CA #62D068
analogous
#9F62D0 #D062CA #D06293
triadic
#D062CA #CAD062 #62CAD0
tetradic
#D062CA #D09F62 #62D068 #6293D0
square
#D062CA #D09F62 #62D068 #6293D0
split-complementary
#D062CA #93D062 #62D09F
monochromatic
#8D2A88 #BC38B5 #D062CA #DE91DA #ECC0EA

Accessibility & contrast

On white

3.34
#D062CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#D062CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D062CA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D062CA#FFFFFF#000000##000000
##D062CA1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B83CD
Deuteranopia (green-blind)
#7C92C7
Tritanopia (blue-blind)
#D76C8D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d062ca;
/* rgb */ color: rgb(208, 98, 202);
/* oklch */ color: oklch(66.5% 0.187 329.5);
Tailwind
colors: {
  custom: {
    50: '#e193da',
    500: '#d062ca',
    950: '#000000',
  },
}
SCSS
$custom: #d062ca;
$custom-light: #e193da;
$custom-dark: #000000;
JSON
{
  "hex": "#d062ca",
  "rgb": {
    "r": 208,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 303.273,
    "s": 53.922,
    "l": 60
  },
  "oklch": {
    "l": 0.66533,
    "c": 0.18665,
    "h": 329.5
  },
  "luminance": 0.2641
}

Semantic roles & 50–950 ramp

primary
#D062CA
secondary
#B2DCB4
accent
#DD534B
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D062CA

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

Preview Lab → · Contrast checker → · Palette generator →

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