#D062CB#D062CB

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

Color values

HEX#D062CB
RGBrgb(208, 98, 203)
HSLhsl(303, 54%, 60%)
HSVhsv(303, 53%, 82%)
CMYKcmyk(0%, 52.9%, 2.4%, 18.4%)
CIE-LABlab(58.47, 57.28, -35.05)
CIE-LCHlch(58.47, 67.16, 328.54°)
OKLaboklab(66.58% 0.161 -0.0961)
OKLCHoklch(66.58% 0.188 329.2)
XYZxyz(41.1591, 26.4596, 59.4276)
Luminance0.2646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D062CB #62D067
analogous
#9E62D0 #D062CB #D06294
triadic
#D062CB #CBD062 #62CBD0
tetradic
#D062CB #D09E62 #62D067 #6294D0
square
#D062CB #D09E62 #62D067 #6294D0
split-complementary
#D062CB #94D062 #62D09E
monochromatic
#8D2A89 #BC38B6 #D062CB #DE91DB #ECC0EA

Accessibility & contrast

On white

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

On black

6.29
#D062CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D062CB
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D062CB#FFFFFF#000000##000000
##D062CB1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A83CE
Deuteranopia (green-blind)
#7C92C8
Tritanopia (blue-blind)
#D66D8E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d062cb;
/* rgb */ color: rgb(208, 98, 203);
/* oklch */ color: oklch(66.6% 0.188 329.2);
Tailwind
colors: {
  custom: {
    50: '#e193db',
    500: '#d062cb',
    950: '#000000',
  },
}
SCSS
$custom: #d062cb;
$custom-light: #e193db;
$custom-dark: #000000;
JSON
{
  "hex": "#d062cb",
  "rgb": {
    "r": 208,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 302.727,
    "s": 53.922,
    "l": 60
  },
  "oklch": {
    "l": 0.66581,
    "c": 0.18751,
    "h": 329.2
  },
  "luminance": 0.26457
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D062CB

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

Preview Lab → · Contrast checker → · Palette generator →

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