#D662E4#D662E4

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

Color values

HEX#D662E4
RGBrgb(214, 98, 228)
HSLhsl(294, 71%, 64%)
HSVhsv(294, 57%, 89%)
CMYKcmyk(6.1%, 57%, 0%, 10.6%)
CIE-LABlab(60.46, 63.29, -45.96)
CIE-LCHlch(60.46, 78.22, 324.01°)
OKLaboklab(68.59% 0.1705 -0.1274)
OKLCHoklch(68.59% 0.213 323.2)
XYZxyz(46.1015, 28.6353, 76.4826)
Luminance0.2863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D662E4 #70E462
analogous
#9562E4 #D662E4 #E462B1
triadic
#D662E4 #E4D662 #62E4D6
tetradic
#D662E4 #E49562 #70E462 #62B1E4
square
#D662E4 #E49562 #70E462 #62B1E4
split-complementary
#D662E4 #B1E462 #62E495
monochromatic
#9E1EAE #C82EDB #D662E4 #E496ED #F1CAF6

Accessibility & contrast

On white

3.12
#D662E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#D662E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D662E4
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D662E4#FFFFFF#000000##000000
##D662E41.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C89E8
Deuteranopia (green-blind)
#7497E0
Tritanopia (blue-blind)
#D9749A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d662e4;
/* rgb */ color: rgb(214, 98, 228);
/* oklch */ color: oklch(68.6% 0.213 323.2);
Tailwind
colors: {
  custom: {
    50: '#e594ed',
    500: '#d662e4',
    950: '#000000',
  },
}
SCSS
$custom: #d662e4;
$custom-light: #e594ed;
$custom-dark: #000000;
JSON
{
  "hex": "#d662e4",
  "rgb": {
    "r": 214,
    "g": 98,
    "b": 228
  },
  "hsl": {
    "h": 293.538,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68589,
    "c": 0.21284,
    "h": 323.2
  },
  "luminance": 0.28633
}

Semantic roles & 50–950 ramp

primary
#D662E4
secondary
#BFE8BA
accent
#D31327
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D662E4

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

Preview Lab → · Contrast checker → · Palette generator →

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