#D062EF#D062EF

#D062EF is a light, highly saturated purple. Relative luminance 0.284; OKLCH L 68.4% C 0.220 H 318.2°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#D062EF
RGBrgb(208, 98, 239)
HSLhsl(287, 82%, 66%)
HSVhsv(287, 59%, 94%)
CMYKcmyk(13%, 59%, 0%, 6.3%)
CIE-LABlab(60.23, 63.87, -52.51)
CIE-LCHlch(60.23, 82.68, 320.57°)
OKLaboklab(68.44% 0.1642 -0.1466)
OKLCHoklch(68.44% 0.22 318.2)
XYZxyz(45.9580, 28.3791, 84.7015)
Luminance0.2838 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D062EF #81EF62
analogous
#8962EF #D062EF #EF62C7
triadic
#D062EF #EFD062 #62EFD0
tetradic
#D062EF #EF8962 #81EF62 #62C7EF
square
#D062EF #EF8962 #81EF62 #62C7EF
split-complementary
#D062EF #C7EF62 #62EF89
monochromatic
#9C14C3 #BF2AE9 #D062EF #E19AF5 #F1D1FA

Accessibility & contrast

On white

3.15
#D062EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#D062EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D062EF
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D062EF#FFFFFF#000000##000000
##D062EF1.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8AF3
Deuteranopia (green-blind)
#6995EB
Tritanopia (blue-blind)
#D079A0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d062ef;
/* rgb */ color: rgb(208, 98, 239);
/* oklch */ color: oklch(68.4% 0.220 318.2);
Tailwind
colors: {
  custom: {
    50: '#e194f5',
    500: '#d062ef',
    950: '#000000',
  },
}
SCSS
$custom: #d062ef;
$custom-light: #e194f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d062ef",
  "rgb": {
    "r": 208,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 286.809,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6844,
    "c": 0.22012,
    "h": 318.2
  },
  "luminance": 0.28377
}

Semantic roles & 50–950 ramp

primary
#D062EF
secondary
#C9EEBF
accent
#DE0837
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D062EF

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

Preview Lab → · Contrast checker → · Palette generator →

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