#E17DF2#E17DF2

#E17DF2 is a light, vivid purple. Relative luminance 0.371; OKLCH L 74.2% C 0.190 H 321.6°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#E17DF2
RGBrgb(225, 125, 242)
HSLhsl(291, 82%, 72%)
HSVhsv(291, 48%, 95%)
CMYKcmyk(7%, 48.3%, 0%, 5.1%)
CIE-LABlab(67.34, 55.92, -42.80)
CIE-LCHlch(67.34, 70.42, 322.57°)
OKLaboklab(74.16% 0.1493 -0.1182)
OKLCHoklch(74.16% 0.19 321.6)
XYZxyz(54.4102, 37.0879, 88.2798)
Luminance0.3709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E17DF2 #8EF27D
analogous
#A77DF2 #E17DF2 #F27DC9
triadic
#E17DF2 #F2E17D #7DF2E1
tetradic
#E17DF2 #F2A77D #8EF27D #7DC9F2
square
#E17DF2 #F2A77D #8EF27D #7DC9F2
split-complementary
#E17DF2 #C9F27D #7DF2A7
monochromatic
#C116DE #D445EC #E17DF2 #EEB5F8 #F9E3FC

Accessibility & contrast

On white

2.49
#E17DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##E17DF2#FFFFFF#000000##000000
##E17DF21.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#89A8EF
Tritanopia (blue-blind)
#E38CAC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #e17df2;
/* rgb */ color: rgb(225, 125, 242);
/* oklch */ color: oklch(74.2% 0.190 321.6);
Tailwind
colors: {
  custom: {
    50: '#eca6f7',
    500: '#e17df2',
    950: '#000000',
  },
}
SCSS
$custom: #e17df2;
$custom-light: #eca6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#e17df2",
  "rgb": {
    "r": 225,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 291.282,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74164,
    "c": 0.19045,
    "h": 321.6
  },
  "luminance": 0.37086
}

Semantic roles & 50–950 ramp

primary
#E17DF2
secondary
#DBF4D7
accent
#DE0727
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #E17DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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