#E17DF7#E17DF7

#E17DF7 is a light, vivid purple. Relative luminance 0.374; OKLCH L 74.4% C 0.195 H 320.2°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#E17DF7
RGBrgb(225, 125, 247)
HSLhsl(289, 88%, 73%)
HSVhsv(289, 49%, 97%)
CMYKcmyk(8.9%, 49.4%, 0%, 3.1%)
CIE-LABlab(67.57, 56.87, -45.19)
CIE-LCHlch(67.57, 72.64, 321.53°)
OKLaboklab(74.41% 0.15 -0.1251)
OKLCHoklch(74.41% 0.195 320.2)
XYZxyz(55.1714, 37.3924, 92.2889)
Luminance0.3739 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E17DF7 #93F77D
analogous
#A47DF7 #E17DF7 #F77DD0
triadic
#E17DF7 #F7E17D #7DF7E1
tetradic
#E17DF7 #F7A47D #93F77D #7DD0F7
square
#E17DF7 #F7A47D #93F77D #7DD0F7
split-complementary
#E17DF7 #D0F77D #7DF7A4
monochromatic
#C30EEB #D443F3 #E17DF7 #EEB7FB #F8E2FD

Accessibility & contrast

On white

2.48
#E17DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#E17DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E17DF7
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E17DF7#FFFFFF#000000##000000
##E17DF71.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFB
Deuteranopia (green-blind)
#87A8F4
Tritanopia (blue-blind)
#E28EAF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e17df7;
/* rgb */ color: rgb(225, 125, 247);
/* oklch */ color: oklch(74.4% 0.195 320.2);
Tailwind
colors: {
  custom: {
    50: '#eda6fa',
    500: '#e17df7',
    950: '#000000',
  },
}
SCSS
$custom: #e17df7;
$custom-light: #eda6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#e17df7",
  "rgb": {
    "r": 225,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 289.18,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.74406,
    "c": 0.19532,
    "h": 320.2
  },
  "luminance": 0.3739
}

Semantic roles & 50–950 ramp

primary
#E17DF7
secondary
#DBF5D6
accent
#E5002A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #E17DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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