#D662F8#D662F8

#D662F8 is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 69.7% C 0.231 H 317.9°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#D662F8
RGBrgb(214, 98, 248)
HSLhsl(286, 91%, 68%)
HSVhsv(286, 60%, 97%)
CMYKcmyk(13.7%, 60.5%, 0%, 2.7%)
CIE-LABlab(61.49, 67.02, -55.45)
CIE-LCHlch(61.49, 86.98, 320.40°)
OKLaboklab(69.68% 0.1714 -0.155)
OKLCHoklch(69.68% 0.231 317.9)
XYZxyz(49.0401, 29.8108, 91.9596)
Luminance0.2981 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D662F8 #84F862
analogous
#8B62F8 #D662F8 #F862CF
triadic
#D662F8 #F8D662 #62F8D6
tetradic
#D662F8 #F88B62 #84F862 #62CFF8
square
#D662F8 #F88B62 #84F862 #62CFF8
split-complementary
#D662F8 #CFF862 #62F88B
monochromatic
#A80AD6 #C727F5 #D662F8 #E59DFB #F5D7FD

Accessibility & contrast

On white

3.02
#D662F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#D662F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D662F8
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D662F8#FFFFFF#000000##000000
##D662F81.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#378DFD
Deuteranopia (green-blind)
#6898F4
Tritanopia (blue-blind)
#D57BA4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d662f8;
/* rgb */ color: rgb(214, 98, 248);
/* oklch */ color: oklch(69.7% 0.231 317.9);
Tailwind
colors: {
  custom: {
    50: '#e695fb',
    500: '#d662f8',
    950: '#000000',
  },
}
SCSS
$custom: #d662f8;
$custom-light: #e695fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d662f8",
  "rgb": {
    "r": 214,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 286.4,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69675,
    "c": 0.23108,
    "h": 317.9
  },
  "luminance": 0.29809
}

Semantic roles & 50–950 ramp

primary
#D662F8
secondary
#CEF2C4
accent
#E60034
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D662F8

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

Preview Lab → · Contrast checker → · Palette generator →

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