#D662E7#D662E7

#D662E7 is a light, highly saturated purple. Relative luminance 0.288; OKLCH L 68.7% C 0.216 H 322.4°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#D662E7
RGBrgb(214, 98, 231)
HSLhsl(292, 73%, 65%)
HSVhsv(292, 58%, 91%)
CMYKcmyk(7.4%, 57.6%, 0%, 9.4%)
CIE-LABlab(60.61, 63.84, -47.40)
CIE-LCHlch(60.61, 79.51, 323.40°)
OKLaboklab(68.75% 0.1707 -0.1316)
OKLCHoklch(68.75% 0.216 322.4)
XYZxyz(46.5215, 28.8033, 78.6950)
Luminance0.2880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D662E7 #73E762
analogous
#9462E7 #D662E7 #E762B6
triadic
#D662E7 #E7D662 #62E7D6
tetradic
#D662E7 #E79462 #73E762 #62B6E7
square
#D662E7 #E79462 #73E762 #62B6E7
split-complementary
#D662E7 #B6E762 #62E794
monochromatic
#A01BB3 #C82DDF #D662E7 #E497EF #F2CCF7

Accessibility & contrast

On white

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

On black

6.76
#D662E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D662E7
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D662E7#FFFFFF#000000##000000
##D662E71.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#498AEB
Deuteranopia (green-blind)
#7397E3
Tritanopia (blue-blind)
#D9759C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d662e7;
/* rgb */ color: rgb(214, 98, 231);
/* oklch */ color: oklch(68.7% 0.216 322.4);
Tailwind
colors: {
  custom: {
    50: '#e694ef',
    500: '#d662e7',
    950: '#000000',
  },
}
SCSS
$custom: #d662e7;
$custom-light: #e694ef;
$custom-dark: #000000;
JSON
{
  "hex": "#d662e7",
  "rgb": {
    "r": 214,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 292.331,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68747,
    "c": 0.21553,
    "h": 322.4
  },
  "luminance": 0.28801
}

Semantic roles & 50–950 ramp

primary
#D662E7
secondary
#C1E9BB
accent
#D61029
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D662E7

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

Preview Lab → · Contrast checker → · Palette generator →

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