#E170F7#E170F7

#E170F7 is a light, highly saturated purple. Relative luminance 0.343; OKLCH L 72.7% C 0.215 H 320.9°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#E170F7
RGBrgb(225, 112, 247)
HSLhsl(290, 89%, 70%)
HSVhsv(290, 55%, 97%)
CMYKcmyk(8.9%, 54.7%, 0%, 3.1%)
CIE-LABlab(65.21, 63.13, -48.90)
CIE-LCHlch(65.21, 79.85, 322.23°)
OKLaboklab(72.67% 0.1669 -0.1358)
OKLCHoklch(72.67% 0.215 320.9)
XYZxyz(53.6321, 34.3137, 91.7758)
Luminance0.3431 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E170F7 #86F770
analogous
#9D70F7 #E170F7 #F770CA
triadic
#E170F7 #F7E170 #70F7E1
tetradic
#E170F7 #F79D70 #86F770 #70CAF7
square
#E170F7 #F79D70 #86F770 #70CAF7
split-complementary
#E170F7 #CAF770 #70F79D
monochromatic
#BE0DE0 #D536F4 #E170F7 #EDAAFA #F9E2FD

Accessibility & contrast

On white

2.67
#E170F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#E170F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E170F7
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E170F7#FFFFFF#000000##000000
##E170F71.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FB
Deuteranopia (green-blind)
#7DA3F3
Tritanopia (blue-blind)
#E384A9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e170f7;
/* rgb */ color: rgb(225, 112, 247);
/* oklch */ color: oklch(72.7% 0.215 320.9);
Tailwind
colors: {
  custom: {
    50: '#ed9efa',
    500: '#e170f7',
    950: '#000000',
  },
}
SCSS
$custom: #e170f7;
$custom-light: #ed9efa;
$custom-dark: #000000;
JSON
{
  "hex": "#e170f7",
  "rgb": {
    "r": 225,
    "g": 112,
    "b": 247
  },
  "hsl": {
    "h": 290.222,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72668,
    "c": 0.21516,
    "h": 320.9
  },
  "luminance": 0.34311
}

Semantic roles & 50–950 ramp

primary
#E170F7
secondary
#D5F4CF
accent
#E60025
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E170F7

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

Preview Lab → · Contrast checker → · Palette generator →

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