#D662FE#D662FE

#D662FE is a light, highly saturated purple. Relative luminance 0.302; OKLCH L 70.0% C 0.237 H 316.4°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#D662FE
RGBrgb(214, 98, 254)
HSLhsl(285, 99%, 69%)
HSVhsv(285, 61%, 100%)
CMYKcmyk(15.7%, 61.4%, 0%, 0.4%)
CIE-LABlab(61.82, 68.17, -58.24)
CIE-LCHlch(61.82, 89.66, 319.49°)
OKLaboklab(70.02% 0.1714 -0.1631)
OKLCHoklch(70.02% 0.237 316.4)
XYZxyz(49.9859, 30.1891, 96.9407)
Luminance0.3019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D662FE #8AFE62
analogous
#8862FE #D662FE #FE62D8
triadic
#D662FE #FED662 #62FED6
tetradic
#D662FE #FE8862 #8AFE62 #62D8FE
square
#D662FE #FE8862 #8AFE62 #62D8FE
split-complementary
#D662FE #D8FE62 #62FE88
monochromatic
#AA01E4 #C625FE #D662FE #E69FFE #F6DCFF

Accessibility & contrast

On white

2.98
#D662FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#D662FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D662FE
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D662FE#FFFFFF#000000##000000
##D662FE1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8EFF
Deuteranopia (green-blind)
#6499FA
Tritanopia (blue-blind)
#D47EA7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d662fe;
/* rgb */ color: rgb(214, 98, 254);
/* oklch */ color: oklch(70.0% 0.237 316.4);
Tailwind
colors: {
  custom: {
    50: '#e695ff',
    500: '#d662fe',
    950: '#000000',
  },
}
SCSS
$custom: #d662fe;
$custom-light: #e695ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d662fe",
  "rgb": {
    "r": 214,
    "g": 98,
    "b": 254
  },
  "hsl": {
    "h": 284.615,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70017,
    "c": 0.23666,
    "h": 316.4
  },
  "luminance": 0.30187
}

Semantic roles & 50–950 ramp

primary
#D662FE
secondary
#D3F5C7
accent
#E6003B
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D662FE

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

Preview Lab → · Contrast checker → · Palette generator →

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