#E17EF2#E17EF2

#E17EF2 is a light, vivid purple. Relative luminance 0.373; OKLCH L 74.3% C 0.189 H 321.6°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#E17EF2
RGBrgb(225, 126, 242)
HSLhsl(291, 82%, 72%)
HSVhsv(291, 48%, 95%)
CMYKcmyk(7%, 47.9%, 0%, 5.1%)
CIE-LABlab(67.53, 55.43, -42.50)
CIE-LCHlch(67.53, 69.85, 322.52°)
OKLaboklab(74.3% 0.148 -0.1173)
OKLCHoklch(74.3% 0.189 321.6)
XYZxyz(54.5374, 37.3423, 88.3222)
Luminance0.3734 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E17EF2 #8FF27E
analogous
#A77EF2 #E17EF2 #F27EC9
triadic
#E17EF2 #F2E17E #7EF2E1
tetradic
#E17EF2 #F2A77E #8FF27E #7EC9F2
square
#E17EF2 #F2A77E #8FF27E #7EC9F2
split-complementary
#E17EF2 #C9F27E #7EF2A7
monochromatic
#C216DF #D446EC #E17EF2 #EEB6F8 #F9E3FC

Accessibility & contrast

On white

2.48
#E17EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#E17EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E17EF2
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E17EF2#FFFFFF#000000##000000
##E17EF21.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9DF6
Deuteranopia (green-blind)
#8AA8EF
Tritanopia (blue-blind)
#E38DAD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #e17ef2;
/* rgb */ color: rgb(225, 126, 242);
/* oklch */ color: oklch(74.3% 0.189 321.6);
Tailwind
colors: {
  custom: {
    50: '#eca6f7',
    500: '#e17ef2',
    950: '#000000',
  },
}
SCSS
$custom: #e17ef2;
$custom-light: #eca6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#e17ef2",
  "rgb": {
    "r": 225,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 291.207,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74304,
    "c": 0.18886,
    "h": 321.6
  },
  "luminance": 0.3734
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E17EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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