#D062F4#D062F4

#D062F4 is a light, highly saturated purple. Relative luminance 0.287; OKLCH L 68.7% C 0.225 H 317.0°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#D062F4
RGBrgb(208, 98, 244)
HSLhsl(285, 87%, 67%)
HSVhsv(285, 60%, 96%)
CMYKcmyk(14.8%, 59.8%, 0%, 4.3%)
CIE-LABlab(60.50, 64.84, -54.86)
CIE-LCHlch(60.50, 84.93, 319.76°)
OKLaboklab(68.72% 0.1644 -0.1534)
OKLCHoklch(68.72% 0.225 317)
XYZxyz(46.7069, 28.6787, 88.6456)
Luminance0.2868 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D062F4 #86F462
analogous
#8762F4 #D062F4 #F462CF
triadic
#D062F4 #F4D062 #62F4D0
tetradic
#D062F4 #F48762 #86F462 #62CFF4
square
#D062F4 #F48762 #86F462 #62CFF4
split-complementary
#D062F4 #CFF462 #62F487
monochromatic
#9E0ECD #BF29F0 #D062F4 #E19BF8 #F2D4FC

Accessibility & contrast

On white

3.12
#D062F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#D062F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D062F4
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D062F4#FFFFFF#000000##000000
##D062F41.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#388BF9
Deuteranopia (green-blind)
#6595F0
Tritanopia (blue-blind)
#CF7BA2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d062f4;
/* rgb */ color: rgb(208, 98, 244);
/* oklch */ color: oklch(68.7% 0.225 317.0);
Tailwind
colors: {
  custom: {
    50: '#e294f8',
    500: '#d062f4',
    950: '#000000',
  },
}
SCSS
$custom: #d062f4;
$custom-light: #e294f8;
$custom-dark: #000000;
JSON
{
  "hex": "#d062f4",
  "rgb": {
    "r": 208,
    "g": 98,
    "b": 244
  },
  "hsl": {
    "h": 285.205,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68721,
    "c": 0.22484,
    "h": 317
  },
  "luminance": 0.28677
}

Semantic roles & 50–950 ramp

primary
#D062F4
secondary
#CDF0C2
accent
#E3023A
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D062F4

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

Preview Lab → · Contrast checker → · Palette generator →

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