#E17CDF#E17CDF

#E17CDF is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.1% C 0.174 H 327.9°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#E17CDF
RGBrgb(225, 124, 223)
HSLhsl(301, 63%, 68%)
HSVhsv(301, 45%, 88%)
CMYKcmyk(0%, 44.9%, 0.9%, 11.8%)
CIE-LABlab(66.33, 52.95, -33.88)
CIE-LCHlch(66.33, 62.86, 327.39°)
OKLaboklab(73.14% 0.1476 -0.0926)
OKLCHoklch(73.14% 0.174 327.9)
XYZxyz(51.5774, 35.7532, 73.9820)
Luminance0.3575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E17CDF #7CE17E
analogous
#B07CE1 #E17CDF #E17CAC
triadic
#E17CDF #DFE17C #7CDFE1
tetradic
#E17CDF #E1B07C #7CE17E #7CACE1
square
#E17CDF #E1B07C #7CE17E #7CACE1
split-complementary
#E17CDF #ACE17C #7CE1B0
monochromatic
#B82AB6 #D64AD3 #E17CDF #ECAEEB #F8E0F7

Accessibility & contrast

On white

2.58
#E17CDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#E17CDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E17CDF
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E17CDF#FFFFFF#000000##000000
##E17CDF1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7499E2
Deuteranopia (green-blind)
#91A6DC
Tritanopia (blue-blind)
#E786A3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #e17cdf;
/* rgb */ color: rgb(225, 124, 223);
/* oklch */ color: oklch(73.1% 0.174 327.9);
Tailwind
colors: {
  custom: {
    50: '#eca5e9',
    500: '#e17cdf',
    950: '#000000',
  },
}
SCSS
$custom: #e17cdf;
$custom-light: #eca5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#e17cdf",
  "rgb": {
    "r": 225,
    "g": 124,
    "b": 223
  },
  "hsl": {
    "h": 301.188,
    "s": 62.733,
    "l": 68.431
  },
  "oklch": {
    "l": 0.73143,
    "c": 0.17426,
    "h": 327.9
  },
  "luminance": 0.35751
}

Semantic roles & 50–950 ramp

primary
#E17CDF
secondary
#CDECCE
accent
#CA1E1B
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #E17CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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