#E17FD2#E17FD2

#E17FD2 is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.0% C 0.158 H 332.9°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#E17FD2
RGBrgb(225, 127, 210)
HSLhsl(309, 62%, 69%)
HSVhsv(309, 44%, 88%)
CMYKcmyk(0%, 43.6%, 6.7%, 11.8%)
CIE-LABlab(66.40, 49.19, -26.53)
CIE-LCHlch(66.40, 55.89, 331.66°)
OKLaboklab(73.02% 0.1406 -0.0718)
OKLCHoklch(73.02% 0.158 332.9)
XYZxyz(50.2733, 35.8423, 65.2305)
Luminance0.3584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E17FD2 #7FE18E
analogous
#BF7FE1 #E17FD2 #E17FA1
triadic
#E17FD2 #D2E17F #7FD2E1
tetradic
#E17FD2 #E1BF7F #7FE18E #7FA1E1
square
#E17FD2 #E1BF7F #7FE18E #7FA1E1
split-complementary
#E17FD2 #A1E17F #7FE1BF
monochromatic
#BA2CA4 #D54DC1 #E17FD2 #EDB1E3 #F8E2F5

Accessibility & contrast

On white

2.57
#E17FD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#E17FD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E17FD2
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E17FD2#FFFFFF#000000##000000
##E17FD21.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D99D5
Deuteranopia (green-blind)
#98A7CF
Tritanopia (blue-blind)
#E9859F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #e17fd2;
/* rgb */ color: rgb(225, 127, 210);
/* oklch */ color: oklch(73.0% 0.158 332.9);
Tailwind
colors: {
  custom: {
    50: '#eca7e0',
    500: '#e17fd2',
    950: '#000000',
  },
}
SCSS
$custom: #e17fd2;
$custom-light: #eca7e0;
$custom-dark: #000000;
JSON
{
  "hex": "#e17fd2",
  "rgb": {
    "r": 225,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 309.184,
    "s": 62.025,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73024,
    "c": 0.15788,
    "h": 332.9
  },
  "luminance": 0.35839
}

Semantic roles & 50–950 ramp

primary
#E17FD2
secondary
#D0ECD4
accent
#CA361C
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #E17FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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