#D64DEC#D64DEC

#D64DEC is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.7% C 0.247 H 321.8°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#D64DEC
RGBrgb(214, 77, 236)
HSLhsl(292, 81%, 61%)
HSVhsv(292, 67%, 93%)
CMYKcmyk(9.3%, 67.4%, 0%, 7.5%)
CIE-LABlab(57.72, 73.47, -54.79)
CIE-LCHlch(57.72, 91.65, 323.29°)
OKLaboklab(66.74% 0.1945 -0.1529)
OKLCHoklch(66.74% 0.247 321.8)
XYZxyz(45.5241, 25.6625, 81.8961)
Luminance0.2566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D64DEC #63EC4D
analogous
#874DEC #D64DEC #EC4DB3
triadic
#D64DEC #ECD64D #4DECD6
tetradic
#D64DEC #EC874D #63EC4D #4DB3EC
square
#D64DEC #EC874D #63EC4D #4DB3EC
split-complementary
#D64DEC #B3EC4D #4DEC87
monochromatic
#9712AC #C718E4 #D64DEC #E384F2 #EFBCF8

Accessibility & contrast

On white

3.42
#D64DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#D64DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D64DEC
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D64DEC#FFFFFF#000000##000000
##D64DEC1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1781F1
Deuteranopia (green-blind)
#6190E8
Tritanopia (blue-blind)
#D86997
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d64dec;
/* rgb */ color: rgb(214, 77, 236);
/* oklch */ color: oklch(66.7% 0.247 321.8);
Tailwind
colors: {
  custom: {
    50: '#e689f3',
    500: '#d64dec',
    950: '#000000',
  },
}
SCSS
$custom: #d64dec;
$custom-light: #e689f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d64dec",
  "rgb": {
    "r": 214,
    "g": 77,
    "b": 236
  },
  "hsl": {
    "h": 291.698,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66738,
    "c": 0.24745,
    "h": 321.8
  },
  "luminance": 0.2566
}

Semantic roles & 50–950 ramp

primary
#D64DEC
secondary
#B5E8AD
accent
#DD0826
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D17
muted
#847D85

Preview Lab

Preview with #D64DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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