#E17AFD#E17AFD

#E17AFD is a light, highly saturated purple. Relative luminance 0.370; OKLCH L 74.3% C 0.206 H 318.7°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#E17AFD
RGBrgb(225, 122, 253)
HSLhsl(287, 97%, 74%)
HSVhsv(287, 52%, 99%)
CMYKcmyk(11.1%, 51.8%, 0%, 0.8%)
CIE-LABlab(67.29, 59.49, -48.91)
CIE-LCHlch(67.29, 77.02, 320.57°)
OKLaboklab(74.29% 0.1546 -0.1359)
OKLCHoklch(74.29% 0.206 318.7)
XYZxyz(55.7381, 37.0206, 97.1191)
Luminance0.3702 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E17AFD #96FD7A
analogous
#9F7AFD #E17AFD #FD7AD7
triadic
#E17AFD #FDE17A #7AFDE1
tetradic
#E17AFD #FD9F7A #96FD7A #7AD7FD
square
#E17AFD #FD9F7A #96FD7A #7AD7FD
split-complementary
#E17AFD #D7FD7A #7AFD9F
monochromatic
#C404F9 #D33EFC #E17AFD #EFB6FE #F8E1FF

Accessibility & contrast

On white

2.50
#E17AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#E17AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E17AFD
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E17AFD#FFFFFF#000000##000000
##E17AFD1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#81A7F9
Tritanopia (blue-blind)
#E18DB0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #e17afd;
/* rgb */ color: rgb(225, 122, 253);
/* oklch */ color: oklch(74.3% 0.206 318.7);
Tailwind
colors: {
  custom: {
    50: '#eda4fe',
    500: '#e17afd',
    950: '#000000',
  },
}
SCSS
$custom: #e17afd;
$custom-light: #eda4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e17afd",
  "rgb": {
    "r": 225,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 287.176,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74293,
    "c": 0.20584,
    "h": 318.7
  },
  "luminance": 0.37018
}

Semantic roles & 50–950 ramp

primary
#E17AFD
secondary
#DCF7D4
accent
#E60031
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E17AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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