#E17AF8#E17AF8

#E17AF8 is a light, highly saturated purple. Relative luminance 0.367; OKLCH L 74.0% C 0.201 H 320.1°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#E17AF8
RGBrgb(225, 122, 248)
HSLhsl(289, 90%, 73%)
HSVhsv(289, 51%, 97%)
CMYKcmyk(9.3%, 50.8%, 0%, 2.7%)
CIE-LABlab(67.06, 58.54, -46.55)
CIE-LCHlch(67.06, 74.79, 321.51°)
OKLaboklab(74.04% 0.1541 -0.129)
OKLCHoklch(74.04% 0.201 320.1)
XYZxyz(54.9521, 36.7061, 92.9791)
Luminance0.3670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E17AF8 #91F87A
analogous
#A27AF8 #E17AF8 #F87AD0
triadic
#E17AF8 #F8E17A #7AF8E1
tetradic
#E17AF8 #F8A27A #91F87A #7AD0F8
square
#E17AF8 #F8A27A #91F87A #7AD0F8
split-complementary
#E17AF8 #D0F87A #7AF8A2
monochromatic
#C30CEB #D440F5 #E17AF8 #EEB4FB #F8E2FD

Accessibility & contrast

On white

2.52
#E17AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#E17AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E17AF8
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E17AF8#FFFFFF#000000##000000
##E17AF81.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFC
Deuteranopia (green-blind)
#84A7F5
Tritanopia (blue-blind)
#E28CAE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #e17af8;
/* rgb */ color: rgb(225, 122, 248);
/* oklch */ color: oklch(74.0% 0.201 320.1);
Tailwind
colors: {
  custom: {
    50: '#eda4fb',
    500: '#e17af8',
    950: '#000000',
  },
}
SCSS
$custom: #e17af8;
$custom-light: #eda4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#e17af8",
  "rgb": {
    "r": 225,
    "g": 122,
    "b": 248
  },
  "hsl": {
    "h": 289.048,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.74041,
    "c": 0.20097,
    "h": 320.1
  },
  "luminance": 0.36704
}

Semantic roles & 50–950 ramp

primary
#E17AF8
secondary
#DBF6D5
accent
#E6002A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E17AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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