#D662EA#D662EA

#D662EA is a light, highly saturated purple. Relative luminance 0.290; OKLCH L 68.9% C 0.218 H 321.5°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#D662EA
RGBrgb(214, 98, 234)
HSLhsl(291, 76%, 65%)
HSVhsv(291, 58%, 92%)
CMYKcmyk(8.5%, 58.1%, 0%, 8.2%)
CIE-LABlab(60.76, 64.39, -48.84)
CIE-LCHlch(60.76, 80.81, 322.82°)
OKLaboklab(68.91% 0.1709 -0.1357)
OKLCHoklch(68.91% 0.218 321.5)
XYZxyz(46.9489, 28.9743, 80.9456)
Luminance0.2897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D662EA #76EA62
analogous
#9262EA #D662EA #EA62BA
triadic
#D662EA #EAD662 #62EAD6
tetradic
#D662EA #EA9262 #76EA62 #62BAEA
square
#D662EA #EA9262 #76EA62 #62BAEA
split-complementary
#D662EA #BAEA62 #62EA92
monochromatic
#A119B9 #C82CE3 #D662EA #E498F1 #F2CEF8

Accessibility & contrast

On white

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

On black

6.79
#D662EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D662EA
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D662EA#FFFFFF#000000##000000
##D662EA1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#478AEE
Deuteranopia (green-blind)
#7197E6
Tritanopia (blue-blind)
#D8769D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d662ea;
/* rgb */ color: rgb(214, 98, 234);
/* oklch */ color: oklch(68.9% 0.218 321.5);
Tailwind
colors: {
  custom: {
    50: '#e695f1',
    500: '#d662ea',
    950: '#000000',
  },
}
SCSS
$custom: #d662ea;
$custom-light: #e695f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d662ea",
  "rgb": {
    "r": 214,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 291.176,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68906,
    "c": 0.21825,
    "h": 321.5
  },
  "luminance": 0.28972
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D662EA

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

Preview Lab → · Contrast checker → · Palette generator →

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