#D062F6#D062F6

#D062F6 is a light, highly saturated purple. Relative luminance 0.288; OKLCH L 68.8% C 0.227 H 316.5°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#D062F6
RGBrgb(208, 98, 246)
HSLhsl(285, 89%, 67%)
HSVhsv(285, 60%, 96%)
CMYKcmyk(15.4%, 60.2%, 0%, 3.5%)
CIE-LABlab(60.61, 65.23, -55.79)
CIE-LCHlch(60.61, 85.83, 319.46°)
OKLaboklab(68.84% 0.1644 -0.1562)
OKLCHoklch(68.84% 0.227 316.5)
XYZxyz(47.0122, 28.8008, 90.2536)
Luminance0.2880 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D062F6 #88F662
analogous
#8662F6 #D062F6 #F662D2
triadic
#D062F6 #F6D062 #62F6D0
tetradic
#D062F6 #F68662 #88F662 #62D2F6
square
#D062F6 #F68662 #88F662 #62D2F6
split-complementary
#D062F6 #D2F662 #62F686
monochromatic
#9F0CD2 #BF28F3 #D062F6 #E19CF9 #F3D6FD

Accessibility & contrast

On white

3.11
#D062F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#D062F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D062F6
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D062F6#FFFFFF#000000##000000
##D062F61.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#358BFB
Deuteranopia (green-blind)
#6495F2
Tritanopia (blue-blind)
#CE7CA3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d062f6;
/* rgb */ color: rgb(208, 98, 246);
/* oklch */ color: oklch(68.8% 0.227 316.5);
Tailwind
colors: {
  custom: {
    50: '#e294fa',
    500: '#d062f6',
    950: '#000000',
  },
}
SCSS
$custom: #d062f6;
$custom-light: #e294fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d062f6",
  "rgb": {
    "r": 208,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 284.595,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68835,
    "c": 0.22674,
    "h": 316.5
  },
  "luminance": 0.28799
}

Semantic roles & 50–950 ramp

primary
#D062F6
secondary
#CFF1C3
accent
#E6003B
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D062F6

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

Preview Lab → · Contrast checker → · Palette generator →

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