#D662EB#D662EB

#D662EB is a light, highly saturated purple. Relative luminance 0.290; OKLCH L 69.0% C 0.219 H 321.3°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#D662EB
RGBrgb(214, 98, 235)
HSLhsl(291, 77%, 65%)
HSVhsv(291, 58%, 92%)
CMYKcmyk(8.9%, 58.3%, 0%, 7.8%)
CIE-LABlab(60.81, 64.57, -49.31)
CIE-LCHlch(60.81, 81.25, 322.63°)
OKLaboklab(68.96% 0.171 -0.1371)
OKLCHoklch(68.96% 0.219 321.3)
XYZxyz(47.0929, 29.0319, 81.7043)
Luminance0.2903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D662EB #77EB62
analogous
#9162EB #D662EB #EB62BB
triadic
#D662EB #EBD662 #62EBD6
tetradic
#D662EB #EB9162 #77EB62 #62BBEB
square
#D662EB #EB9162 #77EB62 #62BBEB
split-complementary
#D662EB #BBEB62 #62EB91
monochromatic
#A218BB #C82CE4 #D662EB #E498F2 #F2CFF9

Accessibility & contrast

On white

3.09
#D662EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#D662EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D662EB
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D662EB#FFFFFF#000000##000000
##D662EB1.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#468AEF
Deuteranopia (green-blind)
#7097E7
Tritanopia (blue-blind)
#D8779E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d662eb;
/* rgb */ color: rgb(214, 98, 235);
/* oklch */ color: oklch(69.0% 0.219 321.3);
Tailwind
colors: {
  custom: {
    50: '#e695f2',
    500: '#d662eb',
    950: '#000000',
  },
}
SCSS
$custom: #d662eb;
$custom-light: #e695f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d662eb",
  "rgb": {
    "r": 214,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 290.803,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.68959,
    "c": 0.21915,
    "h": 321.3
  },
  "luminance": 0.2903
}

Semantic roles & 50–950 ramp

primary
#D662EB
secondary
#C4EBBD
accent
#DA0C2B
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D662EB

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

Preview Lab → · Contrast checker → · Palette generator →

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