#E17CD2#E17CD2

#E17CD2 is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.6% C 0.163 H 332.8°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#E17CD2
RGBrgb(225, 124, 210)
HSLhsl(309, 63%, 68%)
HSVhsv(309, 45%, 88%)
CMYKcmyk(0%, 44.9%, 6.7%, 11.8%)
CIE-LABlab(65.81, 50.71, -27.44)
CIE-LCHlch(65.81, 57.65, 331.58°)
OKLaboklab(72.58% 0.1449 -0.0744)
OKLCHoklch(72.58% 0.163 332.8)
XYZxyz(49.8916, 35.0789, 65.1033)
Luminance0.3508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E17CD2 #7CE18B
analogous
#BD7CE1 #E17CD2 #E17C9F
triadic
#E17CD2 #D2E17C #7CD2E1
tetradic
#E17CD2 #E1BD7C #7CE18B #7C9FE1
square
#E17CD2 #E1BD7C #7CE18B #7C9FE1
split-complementary
#E17CD2 #9FE17C #7CE1BD
monochromatic
#B82AA3 #D64AC1 #E17CD2 #ECAEE3 #F8E0F4

Accessibility & contrast

On white

2.62
#E17CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#E17CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E17CD2
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E17CD2#FFFFFF#000000##000000
##E17CD21.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A97D5
Deuteranopia (green-blind)
#96A5CF
Tritanopia (blue-blind)
#E9829D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #e17cd2;
/* rgb */ color: rgb(225, 124, 210);
/* oklch */ color: oklch(72.6% 0.163 332.8);
Tailwind
colors: {
  custom: {
    50: '#eca5e0',
    500: '#e17cd2',
    950: '#000000',
  },
}
SCSS
$custom: #e17cd2;
$custom-light: #eca5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#e17cd2",
  "rgb": {
    "r": 225,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 308.911,
    "s": 62.733,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72584,
    "c": 0.1629,
    "h": 332.8
  },
  "luminance": 0.35076
}

Semantic roles & 50–950 ramp

primary
#E17CD2
secondary
#CDECD2
accent
#CA351B
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #E17CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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