#D062F5#D062F5

#D062F5 is a light, highly saturated purple. Relative luminance 0.287; OKLCH L 68.8% C 0.226 H 316.7°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#D062F5
RGBrgb(208, 98, 245)
HSLhsl(285, 88%, 67%)
HSVhsv(285, 60%, 96%)
CMYKcmyk(15.1%, 60%, 0%, 3.9%)
CIE-LABlab(60.55, 65.03, -55.33)
CIE-LCHlch(60.55, 85.38, 319.61°)
OKLaboklab(68.78% 0.1644 -0.1548)
OKLCHoklch(68.78% 0.226 316.7)
XYZxyz(46.8591, 28.7396, 89.4474)
Luminance0.2874 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D062F5 #87F562
analogous
#8762F5 #D062F5 #F562D1
triadic
#D062F5 #F5D062 #62F5D0
tetradic
#D062F5 #F58762 #87F562 #62D1F5
square
#D062F5 #F58762 #87F562 #62D1F5
split-complementary
#D062F5 #D1F562 #62F587
monochromatic
#9F0DCF #BF28F1 #D062F5 #E19CF9 #F2D5FC

Accessibility & contrast

On white

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

On black

6.75
#D062F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D062F5
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D062F5#FFFFFF#000000##000000
##D062F51.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#378BFA
Deuteranopia (green-blind)
#6495F1
Tritanopia (blue-blind)
#CE7BA3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d062f5;
/* rgb */ color: rgb(208, 98, 245);
/* oklch */ color: oklch(68.8% 0.226 316.7);
Tailwind
colors: {
  custom: {
    50: '#e294f9',
    500: '#d062f5',
    950: '#000000',
  },
}
SCSS
$custom: #d062f5;
$custom-light: #e294f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d062f5",
  "rgb": {
    "r": 208,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 284.898,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68778,
    "c": 0.2258,
    "h": 316.7
  },
  "luminance": 0.28738
}

Semantic roles & 50–950 ramp

primary
#D062F5
secondary
#CEF1C2
accent
#E5013A
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D062F5

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

Preview Lab → · Contrast checker → · Palette generator →

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