#E17AFE#E17AFE

#E17AFE is a light, highly saturated purple. Relative luminance 0.371; OKLCH L 74.3% C 0.207 H 318.4°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#E17AFE
RGBrgb(225, 122, 254)
HSLhsl(287, 99%, 74%)
HSVhsv(287, 52%, 100%)
CMYKcmyk(11.4%, 52%, 0%, 0.4%)
CIE-LABlab(67.34, 59.69, -49.38)
CIE-LCHlch(67.34, 77.47, 320.40°)
OKLaboklab(74.34% 0.1547 -0.1372)
OKLCHoklch(74.34% 0.207 318.4)
XYZxyz(55.8979, 37.0845, 97.9603)
Luminance0.3708 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E17AFE #97FE7A
analogous
#9F7AFE #E17AFE #FE7AD9
triadic
#E17AFE #FEE17A #7AFEE1
tetradic
#E17AFE #FE9F7A #97FE7A #7AD9FE
square
#E17AFE #FE9F7A #97FE7A #7AD9FE
split-complementary
#E17AFE #D9FE7A #7AFE9F
monochromatic
#C502FC #D33DFE #E17AFE #EFB7FE #F8E1FF

Accessibility & contrast

On white

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

On black

8.42
#E17AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E17AFE
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E17AFE#FFFFFF#000000##000000
##E17AFE1.002.508.428.42
#FFFFFF2.501.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#81A7FA
Tritanopia (blue-blind)
#E18DB1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #e17afe;
/* rgb */ color: rgb(225, 122, 254);
/* oklch */ color: oklch(74.3% 0.207 318.4);
Tailwind
colors: {
  custom: {
    50: '#eda4ff',
    500: '#e17afe',
    950: '#000000',
  },
}
SCSS
$custom: #e17afe;
$custom-light: #eda4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e17afe",
  "rgb": {
    "r": 225,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 286.818,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74344,
    "c": 0.20682,
    "h": 318.4
  },
  "luminance": 0.37082
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E17AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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