#E17CDB#E17CDB

#E17CDB is a light, vivid purple. Relative luminance 0.355; OKLCH L 73.0% C 0.171 H 329.4°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#E17CDB
RGBrgb(225, 124, 219)
HSLhsl(304, 63%, 68%)
HSVhsv(304, 45%, 88%)
CMYKcmyk(0%, 44.9%, 2.7%, 11.8%)
CIE-LABlab(66.17, 52.25, -31.91)
CIE-LCHlch(66.17, 61.22, 328.59°)
OKLaboklab(72.97% 0.1468 -0.087)
OKLCHoklch(72.97% 0.171 329.4)
XYZxyz(51.0445, 35.5401, 71.1754)
Luminance0.3554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E17CDB #7CE182
analogous
#B47CE1 #E17CDB #E17CA8
triadic
#E17CDB #DBE17C #7CDBE1
tetradic
#E17CDB #E1B47C #7CE182 #7CA8E1
square
#E17CDB #E1B47C #7CE182 #7CA8E1
split-complementary
#E17CDB #A8E17C #7CE1B4
monochromatic
#B82AB0 #D64ACD #E17CDB #ECAEE9 #F8E0F6

Accessibility & contrast

On white

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

On black

8.11
#E17CDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E17CDB
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E17CDB#FFFFFF#000000##000000
##E17CDB1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7698DE
Deuteranopia (green-blind)
#92A6D8
Tritanopia (blue-blind)
#E885A1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #e17cdb;
/* rgb */ color: rgb(225, 124, 219);
/* oklch */ color: oklch(73.0% 0.171 329.4);
Tailwind
colors: {
  custom: {
    50: '#eca5e6',
    500: '#e17cdb',
    950: '#000000',
  },
}
SCSS
$custom: #e17cdb;
$custom-light: #eca5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#e17cdb",
  "rgb": {
    "r": 225,
    "g": 124,
    "b": 219
  },
  "hsl": {
    "h": 303.564,
    "s": 62.733,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72967,
    "c": 0.17068,
    "h": 329.4
  },
  "luminance": 0.35537
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E17CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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