#E17FF2#E17FF2

#E17FF2 is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.4% C 0.187 H 321.5°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#E17FF2
RGBrgb(225, 127, 242)
HSLhsl(291, 82%, 72%)
HSVhsv(291, 48%, 95%)
CMYKcmyk(7%, 47.5%, 0%, 5.1%)
CIE-LABlab(67.72, 54.93, -42.20)
CIE-LCHlch(67.72, 69.27, 322.47°)
OKLaboklab(74.45% 0.1466 -0.1165)
OKLCHoklch(74.45% 0.187 321.5)
XYZxyz(54.6659, 37.5994, 88.3650)
Luminance0.3760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E17FF2 #90F27F
analogous
#A77FF2 #E17FF2 #F27FCA
triadic
#E17FF2 #F2E17F #7FF2E1
tetradic
#E17FF2 #F2A77F #90F27F #7FCAF2
square
#E17FF2 #F2A77F #90F27F #7FCAF2
split-complementary
#E17FF2 #CAF27F #7FF2A7
monochromatic
#C217E0 #D447EC #E17FF2 #EEB7F8 #F8E3FC

Accessibility & contrast

On white

2.46
#E17FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#E17FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E17FF2
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E17FF2#FFFFFF#000000##000000
##E17FF21.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#8BA9EF
Tritanopia (blue-blind)
#E38EAD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e17ff2;
/* rgb */ color: rgb(225, 127, 242);
/* oklch */ color: oklch(74.4% 0.187 321.5);
Tailwind
colors: {
  custom: {
    50: '#eca7f7',
    500: '#e17ff2',
    950: '#000000',
  },
}
SCSS
$custom: #e17ff2;
$custom-light: #eca7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#e17ff2",
  "rgb": {
    "r": 225,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 291.13,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.74446,
    "c": 0.18727,
    "h": 321.5
  },
  "luminance": 0.37597
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E17FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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