#D062FC#D062FC

#D062FC is a light, highly saturated purple. Relative luminance 0.292; OKLCH L 69.2% C 0.232 H 315.0°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#D062FC
RGBrgb(208, 98, 252)
HSLhsl(283, 96%, 69%)
HSVhsv(283, 61%, 99%)
CMYKcmyk(17.5%, 61.1%, 0%, 1.2%)
CIE-LABlab(60.94, 66.41, -58.58)
CIE-LCHlch(60.94, 88.56, 318.58°)
OKLaboklab(69.18% 0.1644 -0.1643)
OKLCHoklch(69.18% 0.232 315)
XYZxyz(47.9480, 29.1751, 95.1822)
Luminance0.2917 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D062FC #8EFC62
analogous
#8362FC #D062FC #FC62DB
triadic
#D062FC #FCD062 #62FCD0
tetradic
#D062FC #FC8362 #8EFC62 #62DBFC
square
#D062FC #FC8362 #8EFC62 #62DBFC
split-complementary
#D062FC #DBFC62 #62FC83
monochromatic
#A104DF #BE26FB #D062FC #E29EFD #F4DAFE

Accessibility & contrast

On white

3.07
#D062FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#D062FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D062FC
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D062FC#FFFFFF#000000##000000
##D062FC1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8DFF
Deuteranopia (green-blind)
#5F96F8
Tritanopia (blue-blind)
#CD7EA6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d062fc;
/* rgb */ color: rgb(208, 98, 252);
/* oklch */ color: oklch(69.2% 0.232 315.0);
Tailwind
colors: {
  custom: {
    50: '#e295fe',
    500: '#d062fc',
    950: '#000000',
  },
}
SCSS
$custom: #d062fc;
$custom-light: #e295fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d062fc",
  "rgb": {
    "r": 208,
    "g": 98,
    "b": 252
  },
  "hsl": {
    "h": 282.857,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69181,
    "c": 0.23245,
    "h": 315
  },
  "luminance": 0.29174
}

Semantic roles & 50–950 ramp

primary
#D062FC
secondary
#D3F4C6
accent
#E60042
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D062FC

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

Preview Lab → · Contrast checker → · Palette generator →

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