#E170F6#E170F6

#E170F6 is a light, highly saturated purple. Relative luminance 0.343; OKLCH L 72.6% C 0.214 H 321.1°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#E170F6
RGBrgb(225, 112, 246)
HSLhsl(291, 88%, 70%)
HSVhsv(291, 54%, 96%)
CMYKcmyk(8.5%, 54.5%, 0%, 3.5%)
CIE-LABlab(65.16, 62.94, -48.43)
CIE-LCHlch(65.16, 79.42, 322.42°)
OKLaboklab(72.62% 0.1668 -0.1344)
OKLCHoklch(72.62% 0.214 321.1)
XYZxyz(53.4782, 34.2521, 90.9653)
Luminance0.3425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E170F6 #85F670
analogous
#9E70F6 #E170F6 #F670C8
triadic
#E170F6 #F6E170 #70F6E1
tetradic
#E170F6 #F69E70 #85F670 #70C8F6
square
#E170F6 #F69E70 #85F670 #70C8F6
split-complementary
#E170F6 #C8F670 #70F69E
monochromatic
#BD0EDE #D536F2 #E170F6 #EDAAFA #F9E2FD

Accessibility & contrast

On white

2.68
#E170F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#E170F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E170F6
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E170F6#FFFFFF#000000##000000
##E170F61.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FA
Deuteranopia (green-blind)
#7DA2F2
Tritanopia (blue-blind)
#E383A9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e170f6;
/* rgb */ color: rgb(225, 112, 246);
/* oklch */ color: oklch(72.6% 0.214 321.1);
Tailwind
colors: {
  custom: {
    50: '#ed9ef9',
    500: '#e170f6',
    950: '#000000',
  },
}
SCSS
$custom: #e170f6;
$custom-light: #ed9ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#e170f6",
  "rgb": {
    "r": 225,
    "g": 112,
    "b": 246
  },
  "hsl": {
    "h": 290.597,
    "s": 88.158,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72617,
    "c": 0.21422,
    "h": 321.1
  },
  "luminance": 0.3425
}

Semantic roles & 50–950 ramp

primary
#E170F6
secondary
#D4F3CE
accent
#E50124
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E170F6

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

Preview Lab → · Contrast checker → · Palette generator →

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