#D662EF#D662EF

#D662EF is a light, highly saturated purple. Relative luminance 0.293; OKLCH L 69.2% C 0.223 H 320.2°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#D662EF
RGBrgb(214, 98, 239)
HSLhsl(289, 82%, 66%)
HSVhsv(289, 59%, 94%)
CMYKcmyk(10.5%, 59%, 0%, 6.3%)
CIE-LABlab(61.02, 65.31, -51.21)
CIE-LCHlch(61.02, 83.00, 321.90°)
OKLaboklab(69.18% 0.1711 -0.1426)
OKLCHoklch(69.18% 0.223 320.2)
XYZxyz(47.6773, 29.2657, 84.7821)
Luminance0.2926 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D662EF #7BEF62
analogous
#8F62EF #D662EF #EF62C1
triadic
#D662EF #EFD662 #62EFD6
tetradic
#D662EF #EF8F62 #7BEF62 #62C1EF
square
#D662EF #EF8F62 #7BEF62 #62C1EF
split-complementary
#D662EF #C1EF62 #62EF8F
monochromatic
#A414C3 #C72AE9 #D662EF #E59AF5 #F3D1FA

Accessibility & contrast

On white

3.06
#D662EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#D662EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D662EF
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D662EF#FFFFFF#000000##000000
##D662EF1.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#428BF3
Deuteranopia (green-blind)
#6E97EB
Tritanopia (blue-blind)
#D778A0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d662ef;
/* rgb */ color: rgb(214, 98, 239);
/* oklch */ color: oklch(69.2% 0.223 320.2);
Tailwind
colors: {
  custom: {
    50: '#e695f5',
    500: '#d662ef',
    950: '#000000',
  },
}
SCSS
$custom: #d662ef;
$custom-light: #e695f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d662ef",
  "rgb": {
    "r": 214,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 289.362,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69176,
    "c": 0.2228,
    "h": 320.2
  },
  "luminance": 0.29264
}

Semantic roles & 50–950 ramp

primary
#D662EF
secondary
#C7EEBF
accent
#DE082E
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D662EF

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

Preview Lab → · Contrast checker → · Palette generator →

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