#E17AFC#E17AFC

#E17AFC is a light, highly saturated purple. Relative luminance 0.370; OKLCH L 74.2% C 0.205 H 319.0°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#E17AFC
RGBrgb(225, 122, 252)
HSLhsl(288, 96%, 73%)
HSVhsv(288, 52%, 99%)
CMYKcmyk(10.7%, 51.6%, 0%, 1.2%)
CIE-LABlab(67.24, 59.30, -48.44)
CIE-LCHlch(67.24, 76.57, 320.76°)
OKLaboklab(74.24% 0.1545 -0.1345)
OKLCHoklch(74.24% 0.205 319)
XYZxyz(55.5793, 36.9570, 96.2823)
Luminance0.3695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E17AFC #95FC7A
analogous
#A07AFC #E17AFC #FC7AD6
triadic
#E17AFC #FCE17A #7AFCE1
tetradic
#E17AFC #FCA07A #95FC7A #7AD6FC
square
#E17AFC #FCA07A #95FC7A #7AD6FC
split-complementary
#E17AFC #D6FC7A #7AFCA0
monochromatic
#C406F6 #D33EFB #E17AFC #EEB6FD #F8E1FE

Accessibility & contrast

On white

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

On black

8.39
#E17AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E17AFC
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E17AFC#FFFFFF#000000##000000
##E17AFC1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e17afc;
/* rgb */ color: rgb(225, 122, 252);
/* oklch */ color: oklch(74.2% 0.205 319.0);
Tailwind
colors: {
  custom: {
    50: '#eda4fe',
    500: '#e17afc',
    950: '#000000',
  },
}
SCSS
$custom: #e17afc;
$custom-light: #eda4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e17afc",
  "rgb": {
    "r": 225,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 287.538,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74242,
    "c": 0.20486,
    "h": 319
  },
  "luminance": 0.36955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E17AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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