#D062FA#D062FA

#D062FA is a light, highly saturated purple. Relative luminance 0.290; OKLCH L 69.1% C 0.231 H 315.5°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#D062FA
RGBrgb(208, 98, 250)
HSLhsl(283, 94%, 68%)
HSVhsv(283, 61%, 98%)
CMYKcmyk(16.8%, 60.8%, 0%, 2%)
CIE-LABlab(60.82, 66.01, -57.66)
CIE-LCHlch(60.82, 87.65, 318.87°)
OKLaboklab(69.07% 0.1644 -0.1616)
OKLCHoklch(69.07% 0.231 315.5)
XYZxyz(47.6327, 29.0490, 93.5218)
Luminance0.2905 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D062FA #8CFA62
analogous
#8462FA #D062FA #FA62D8
triadic
#D062FA #FAD062 #62FAD0
tetradic
#D062FA #FA8462 #8CFA62 #62D8FA
square
#D062FA #FA8462 #8CFA62 #62D8FA
split-complementary
#D062FA #D8FA62 #62FA84
monochromatic
#A007DB #BE27F8 #D062FA #E29DFC #F4D9FE

Accessibility & contrast

On white

3.08
#D062FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#D062FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D062FA
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D062FA#FFFFFF#000000##000000
##D062FA1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8CFF
Deuteranopia (green-blind)
#6196F6
Tritanopia (blue-blind)
#CD7DA5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d062fa;
/* rgb */ color: rgb(208, 98, 250);
/* oklch */ color: oklch(69.1% 0.231 315.5);
Tailwind
colors: {
  custom: {
    50: '#e294fd',
    500: '#d062fa',
    950: '#000000',
  },
}
SCSS
$custom: #d062fa;
$custom-light: #e294fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d062fa",
  "rgb": {
    "r": 208,
    "g": 98,
    "b": 250
  },
  "hsl": {
    "h": 283.421,
    "s": 93.827,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69065,
    "c": 0.23054,
    "h": 315.5
  },
  "luminance": 0.29047
}

Semantic roles & 50–950 ramp

primary
#D062FA
secondary
#D2F3C5
accent
#E6003F
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D062FA

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

Preview Lab → · Contrast checker → · Palette generator →

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