#D062C8#D062C8

#D062C8 is a light, vivid purple. Relative luminance 0.263; OKLCH L 66.4% C 0.185 H 330.2°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#D062C8
RGBrgb(208, 98, 200)
HSLhsl(304, 54%, 60%)
HSVhsv(304, 53%, 82%)
CMYKcmyk(0%, 52.9%, 3.8%, 18.4%)
CIE-LABlab(58.34, 56.77, -33.55)
CIE-LCHlch(58.34, 65.94, 329.42°)
OKLaboklab(66.44% 0.1606 -0.0918)
OKLCHoklch(66.44% 0.185 330.2)
XYZxyz(40.8051, 26.3180, 57.5630)
Luminance0.2631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D062C8 #62D06A
analogous
#A162D0 #D062C8 #D06291
triadic
#D062C8 #C8D062 #62C8D0
tetradic
#D062C8 #D0A162 #62D06A #6291D0
square
#D062C8 #D0A162 #62D06A #6291D0
split-complementary
#D062C8 #91D062 #62D0A1
monochromatic
#8D2A86 #BC38B3 #D062C8 #DE91D8 #ECC0E9

Accessibility & contrast

On white

3.35
#D062C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#D062C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D062C8
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D062C8#FFFFFF#000000##000000
##D062C81.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C83CB
Deuteranopia (green-blind)
#7D92C5
Tritanopia (blue-blind)
#D76C8C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d062c8;
/* rgb */ color: rgb(208, 98, 200);
/* oklch */ color: oklch(66.4% 0.185 330.2);
Tailwind
colors: {
  custom: {
    50: '#e193d9',
    500: '#d062c8',
    950: '#000000',
  },
}
SCSS
$custom: #d062c8;
$custom-light: #e193d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d062c8",
  "rgb": {
    "r": 208,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 304.364,
    "s": 53.922,
    "l": 60
  },
  "oklch": {
    "l": 0.66439,
    "c": 0.18495,
    "h": 330.2
  },
  "luminance": 0.26315
}

Semantic roles & 50–950 ramp

primary
#D062C8
secondary
#B2DCB5
accent
#DD554B
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D062C8

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

Preview Lab → · Contrast checker → · Palette generator →

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