#E170E6#E170E6

#E170E6 is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.8% C 0.200 H 325.8°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#E170E6
RGBrgb(225, 112, 230)
HSLhsl(297, 70%, 67%)
HSVhsv(297, 51%, 90%)
CMYKcmyk(2.2%, 51.3%, 0%, 9.8%)
CIE-LABlab(64.41, 60.03, -40.76)
CIE-LCHlch(64.41, 72.56, 325.83°)
OKLaboklab(71.82% 0.1651 -0.1122)
OKLCHoklch(71.82% 0.2 325.8)
XYZxyz(51.1273, 33.3118, 78.5844)
Luminance0.3331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E170E6 #75E670
analogous
#A670E6 #E170E6 #E670B0
triadic
#E170E6 #E6E170 #70E6E1
tetradic
#E170E6 #E6A670 #75E670 #70B0E6
square
#E170E6 #E6A670 #75E670 #70B0E6
split-complementary
#E170E6 #B0E670 #70E6A6
monochromatic
#B421BB #D63CDD #E170E6 #ECA4EF #F7D8F8

Accessibility & contrast

On white

2.74
#E170E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#E170E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E170E6
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E170E6#FFFFFF#000000##000000
##E170E61.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6293EA
Deuteranopia (green-blind)
#85A1E3
Tritanopia (blue-blind)
#E67EA1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #e170e6;
/* rgb */ color: rgb(225, 112, 230);
/* oklch */ color: oklch(71.8% 0.200 325.8);
Tailwind
colors: {
  custom: {
    50: '#ed9dee',
    500: '#e170e6',
    950: '#000000',
  },
}
SCSS
$custom: #e170e6;
$custom-light: #ed9dee;
$custom-dark: #000000;
JSON
{
  "hex": "#e170e6",
  "rgb": {
    "r": 225,
    "g": 112,
    "b": 230
  },
  "hsl": {
    "h": 297.458,
    "s": 70.238,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71822,
    "c": 0.19963,
    "h": 325.8
  },
  "luminance": 0.33309
}

Semantic roles & 50–950 ramp

primary
#E170E6
secondary
#C8ECC6
accent
#D2131B
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E170E6

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

Preview Lab → · Contrast checker → · Palette generator →

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