#E170E5#E170E5

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

Color values

HEX#E170E5
RGBrgb(225, 112, 229)
HSLhsl(298, 69%, 67%)
HSVhsv(298, 51%, 90%)
CMYKcmyk(1.7%, 51.1%, 0%, 10.2%)
CIE-LABlab(64.37, 59.85, -40.27)
CIE-LCHlch(64.37, 72.14, 326.07°)
OKLaboklab(71.77% 0.165 -0.1108)
OKLCHoklch(71.77% 0.199 326.1)
XYZxyz(50.9873, 33.2558, 77.8469)
Luminance0.3325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E170E5 #74E570
analogous
#A770E5 #E170E5 #E570AF
triadic
#E170E5 #E5E170 #70E5E1
tetradic
#E170E5 #E5A770 #74E570 #70AFE5
square
#E170E5 #E5A770 #74E570 #70AFE5
split-complementary
#E170E5 #AFE570 #70E5A7
monochromatic
#B422B9 #D63CDC #E170E5 #ECA4EE #F7D8F8

Accessibility & contrast

On white

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

On black

7.65
#E170E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E170E5
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E170E5#FFFFFF#000000##000000
##E170E51.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6393E9
Deuteranopia (green-blind)
#86A1E2
Tritanopia (blue-blind)
#E67EA0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #e170e5;
/* rgb */ color: rgb(225, 112, 229);
/* oklch */ color: oklch(71.8% 0.199 326.1);
Tailwind
colors: {
  custom: {
    50: '#ed9ded',
    500: '#e170e5',
    950: '#000000',
  },
}
SCSS
$custom: #e170e5;
$custom-light: #ed9ded;
$custom-dark: #000000;
JSON
{
  "hex": "#e170e5",
  "rgb": {
    "r": 225,
    "g": 112,
    "b": 229
  },
  "hsl": {
    "h": 297.949,
    "s": 69.231,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71774,
    "c": 0.19873,
    "h": 326.1
  },
  "luminance": 0.33253
}

Semantic roles & 50–950 ramp

primary
#E170E5
secondary
#C7EBC6
accent
#D1141B
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E170E5

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

Preview Lab → · Contrast checker → · Palette generator →

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