#D062F2#D062F2

#D062F2 is a light, highly saturated purple. Relative luminance 0.286; OKLCH L 68.6% C 0.223 H 317.5°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#D062F2
RGBrgb(208, 98, 242)
HSLhsl(286, 85%, 67%)
HSVhsv(286, 60%, 95%)
CMYKcmyk(14%, 59.5%, 0%, 5.1%)
CIE-LABlab(60.39, 64.45, -53.92)
CIE-LCHlch(60.39, 84.03, 320.08°)
OKLaboklab(68.61% 0.1643 -0.1507)
OKLCHoklch(68.61% 0.223 317.5)
XYZxyz(46.4048, 28.5579, 87.0550)
Luminance0.2856 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D062F2 #84F262
analogous
#8862F2 #D062F2 #F262CC
triadic
#D062F2 #F2D062 #62F2D0
tetradic
#D062F2 #F28862 #84F262 #62CCF2
square
#D062F2 #F28862 #84F262 #62CCF2
split-complementary
#D062F2 #CCF262 #62F288
monochromatic
#9D11C9 #BF29ED #D062F2 #E19BF7 #F2D3FB

Accessibility & contrast

On white

3.13
#D062F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#D062F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D062F2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D062F2#FFFFFF#000000##000000
##D062F21.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8BF6
Deuteranopia (green-blind)
#6795EE
Tritanopia (blue-blind)
#CF7AA1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d062f2;
/* rgb */ color: rgb(208, 98, 242);
/* oklch */ color: oklch(68.6% 0.223 317.5);
Tailwind
colors: {
  custom: {
    50: '#e294f7',
    500: '#d062f2',
    950: '#000000',
  },
}
SCSS
$custom: #d062f2;
$custom-light: #e294f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d062f2",
  "rgb": {
    "r": 208,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 285.833,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68608,
    "c": 0.22295,
    "h": 317.5
  },
  "luminance": 0.28556
}

Semantic roles & 50–950 ramp

primary
#D062F2
secondary
#CCEFC1
accent
#E10438
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D062F2

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

Preview Lab → · Contrast checker → · Palette generator →

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