#E17DFD#E17DFD

#E17DFD is a light, highly saturated purple. Relative luminance 0.378; OKLCH L 74.7% C 0.201 H 318.5°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#E17DFD
RGBrgb(225, 125, 253)
HSLhsl(287, 97%, 74%)
HSVhsv(287, 51%, 99%)
CMYKcmyk(11.1%, 50.6%, 0%, 0.8%)
CIE-LABlab(67.85, 58.02, -48.03)
CIE-LCHlch(67.85, 75.33, 320.38°)
OKLaboklab(74.7% 0.1507 -0.1333)
OKLCHoklch(74.7% 0.201 318.5)
XYZxyz(56.1122, 37.7687, 97.2438)
Luminance0.3777 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E17DFD #99FD7D
analogous
#A17DFD #E17DFD #FD7DD9
triadic
#E17DFD #FDE17D #7DFDE1
tetradic
#E17DFD #FDA17D #99FD7D #7DD9FD
square
#E17DFD #FDA17D #99FD7D #7DD9FD
split-complementary
#E17DFD #D9FD7D #7DFDA1
monochromatic
#C504FB #D341FC #E17DFD #EFB9FE #F8E1FF

Accessibility & contrast

On white

2.46
#E17DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#E17DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E17DFD
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E17DFD#FFFFFF#000000##000000
##E17DFD1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#84A9F9
Tritanopia (blue-blind)
#E190B2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e17dfd;
/* rgb */ color: rgb(225, 125, 253);
/* oklch */ color: oklch(74.7% 0.201 318.5);
Tailwind
colors: {
  custom: {
    50: '#eda6fe',
    500: '#e17dfd',
    950: '#000000',
  },
}
SCSS
$custom: #e17dfd;
$custom-light: #eda6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e17dfd",
  "rgb": {
    "r": 225,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 286.875,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74704,
    "c": 0.20122,
    "h": 318.5
  },
  "luminance": 0.37767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E17DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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