#D062F7#D062F7

#D062F7 is a light, highly saturated purple. Relative luminance 0.289; OKLCH L 68.9% C 0.228 H 316.2°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#D062F7
RGBrgb(208, 98, 247)
HSLhsl(284, 90%, 68%)
HSVhsv(284, 60%, 97%)
CMYKcmyk(15.8%, 60.3%, 0%, 3.1%)
CIE-LABlab(60.66, 65.42, -56.26)
CIE-LCHlch(60.66, 86.29, 319.31°)
OKLaboklab(68.89% 0.1644 -0.1575)
OKLCHoklch(68.89% 0.228 316.2)
XYZxyz(47.1661, 28.8624, 91.0641)
Luminance0.2886 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D062F7 #89F762
analogous
#8562F7 #D062F7 #F762D4
triadic
#D062F7 #F7D062 #62F7D0
tetradic
#D062F7 #F78562 #89F762 #62D4F7
square
#D062F7 #F78562 #89F762 #62D4F7
split-complementary
#D062F7 #D4F762 #62F785
monochromatic
#9F0BD4 #BF28F4 #D062F7 #E19CFA #F3D6FD

Accessibility & contrast

On white

3.10
#D062F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#D062F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D062F7
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D062F7#FFFFFF#000000##000000
##D062F71.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#348CFC
Deuteranopia (green-blind)
#6396F3
Tritanopia (blue-blind)
#CE7CA4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d062f7;
/* rgb */ color: rgb(208, 98, 247);
/* oklch */ color: oklch(68.9% 0.228 316.2);
Tailwind
colors: {
  custom: {
    50: '#e294fa',
    500: '#d062f7',
    950: '#000000',
  },
}
SCSS
$custom: #d062f7;
$custom-light: #e294fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d062f7",
  "rgb": {
    "r": 208,
    "g": 98,
    "b": 247
  },
  "hsl": {
    "h": 284.295,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68892,
    "c": 0.22769,
    "h": 316.2
  },
  "luminance": 0.28861
}

Semantic roles & 50–950 ramp

primary
#D062F7
secondary
#CFF2C3
accent
#E6003C
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D062F7

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

Preview Lab → · Contrast checker → · Palette generator →

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