#E17CDC#E17CDC

#E17CDC is a light, vivid purple. Relative luminance 0.356; OKLCH L 73.0% C 0.172 H 329.0°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#E17CDC
RGBrgb(225, 124, 220)
HSLhsl(303, 63%, 68%)
HSVhsv(303, 45%, 88%)
CMYKcmyk(0%, 44.9%, 2.2%, 11.8%)
CIE-LABlab(66.21, 52.43, -32.40)
CIE-LCHlch(66.21, 61.63, 328.28°)
OKLaboklab(73.01% 0.147 -0.0884)
OKLCHoklch(73.01% 0.172 329)
XYZxyz(51.1765, 35.5929, 71.8708)
Luminance0.3559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E17CDC #7CE181
analogous
#B37CE1 #E17CDC #E17CA9
triadic
#E17CDC #DCE17C #7CDCE1
tetradic
#E17CDC #E1B37C #7CE181 #7CA9E1
square
#E17CDC #E1B37C #7CE181 #7CA9E1
split-complementary
#E17CDC #A9E17C #7CE1B3
monochromatic
#B82AB1 #D64ACF #E17CDC #ECAEE9 #F8E0F7

Accessibility & contrast

On white

2.59
#E17CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#E17CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E17CDC
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E17CDC#FFFFFF#000000##000000
##E17CDC1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7698DF
Deuteranopia (green-blind)
#92A6D9
Tritanopia (blue-blind)
#E785A2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #e17cdc;
/* rgb */ color: rgb(225, 124, 220);
/* oklch */ color: oklch(73.0% 0.172 329.0);
Tailwind
colors: {
  custom: {
    50: '#eca5e7',
    500: '#e17cdc',
    950: '#000000',
  },
}
SCSS
$custom: #e17cdc;
$custom-light: #eca5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e17cdc",
  "rgb": {
    "r": 225,
    "g": 124,
    "b": 220
  },
  "hsl": {
    "h": 302.97,
    "s": 62.733,
    "l": 68.431
  },
  "oklch": {
    "l": 0.73011,
    "c": 0.17156,
    "h": 329
  },
  "luminance": 0.3559
}

Semantic roles & 50–950 ramp

primary
#E17CDC
secondary
#CDECCF
accent
#CA241B
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #E17CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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