#E17DFE#E17DFE

#E17DFE is a light, highly saturated purple. Relative luminance 0.378; OKLCH L 74.8% C 0.202 H 318.2°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#E17DFE
RGBrgb(225, 125, 254)
HSLhsl(287, 98%, 74%)
HSVhsv(287, 51%, 100%)
CMYKcmyk(11.4%, 50.8%, 0%, 0.4%)
CIE-LABlab(67.90, 58.22, -48.51)
CIE-LCHlch(67.90, 75.78, 320.20°)
OKLaboklab(74.75% 0.1508 -0.1347)
OKLCHoklch(74.75% 0.202 318.2)
XYZxyz(56.2719, 37.8326, 98.0849)
Luminance0.3783 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E17DFE #9AFE7D
analogous
#A17DFE #E17DFE #FE7DDA
triadic
#E17DFE #FEE17D #7DFEE1
tetradic
#E17DFE #FEA17D #9AFE7D #7DDAFE
square
#E17DFE #FEA17D #9AFE7D #7DDAFE
split-complementary
#E17DFE #DAFE7D #7DFEA1
monochromatic
#C504FD #D340FE #E17DFE #EFBAFE #F8E1FF

Accessibility & contrast

On white

2.45
#E17DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#E17DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E17DFE
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E17DFE#FFFFFF#000000##000000
##E17DFE1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#649FFF
Deuteranopia (green-blind)
#83A9FA
Tritanopia (blue-blind)
#E190B2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e17dfe;
/* rgb */ color: rgb(225, 125, 254);
/* oklch */ color: oklch(74.8% 0.202 318.2);
Tailwind
colors: {
  custom: {
    50: '#eda6ff',
    500: '#e17dfe',
    950: '#000000',
  },
}
SCSS
$custom: #e17dfe;
$custom-light: #eda6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e17dfe",
  "rgb": {
    "r": 225,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 286.512,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74754,
    "c": 0.20221,
    "h": 318.2
  },
  "luminance": 0.37831
}

Semantic roles & 50–950 ramp

primary
#E17DFE
secondary
#DCF7D4
accent
#E60034
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #E17DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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