#E17DEC#E17DEC

#E17DEC is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.9% C 0.185 H 323.5°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#E17DEC
RGBrgb(225, 125, 236)
HSLhsl(294, 74%, 71%)
HSVhsv(294, 47%, 93%)
CMYKcmyk(4.7%, 47%, 0%, 7.5%)
CIE-LABlab(67.08, 54.81, -39.91)
CIE-LCHlch(67.08, 67.80, 323.94°)
OKLaboklab(73.88% 0.1485 -0.1099)
OKLCHoklch(73.88% 0.185 323.5)
XYZxyz(53.5238, 36.7333, 83.6115)
Luminance0.3673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E17DEC #88EC7D
analogous
#A97DEC #E17DEC #EC7DBF
triadic
#E17DEC #ECE17D #7DECE1
tetradic
#E17DEC #ECA97D #88EC7D #7DBFEC
square
#E17DEC #ECA97D #88EC7D #7DBFEC
split-complementary
#E17DEC #BFEC7D #7DECA9
monochromatic
#BF1ED0 #D548E4 #E17DEC #EDB2F4 #F9E4FB

Accessibility & contrast

On white

2.52
#E17DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#E17DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E17DEC
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E17DEC#FFFFFF#000000##000000
##E17DEC1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF0
Deuteranopia (green-blind)
#8CA7E9
Tritanopia (blue-blind)
#E48AAA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #e17dec;
/* rgb */ color: rgb(225, 125, 236);
/* oklch */ color: oklch(73.9% 0.185 323.5);
Tailwind
colors: {
  custom: {
    50: '#eca6f2',
    500: '#e17dec',
    950: '#000000',
  },
}
SCSS
$custom: #e17dec;
$custom-light: #eca6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e17dec",
  "rgb": {
    "r": 225,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 294.054,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73879,
    "c": 0.1847,
    "h": 323.5
  },
  "luminance": 0.36731
}

Semantic roles & 50–950 ramp

primary
#E17DEC
secondary
#D6F1D3
accent
#D70F23
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #E17DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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