#E170D6#E170D6

#E170D6 is a light, vivid purple. Relative luminance 0.325; OKLCH L 71.1% C 0.186 H 331.1°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#E170D6
RGBrgb(225, 112, 214)
HSLhsl(306, 65%, 66%)
HSVhsv(306, 50%, 88%)
CMYKcmyk(0%, 50.2%, 4.9%, 11.8%)
CIE-LABlab(63.72, 57.27, -32.91)
CIE-LCHlch(63.72, 66.05, 330.11°)
OKLaboklab(71.08% 0.1626 -0.0898)
OKLCHoklch(71.08% 0.186 331.1)
XYZxyz(48.9828, 32.4540, 67.2895)
Luminance0.3245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E170D6 #70E17B
analogous
#B370E1 #E170D6 #E1709D
triadic
#E170D6 #D6E170 #70D6E1
tetradic
#E170D6 #E1B370 #70E17B #709DE1
square
#E170D6 #E1B370 #70E17B #709DE1
split-complementary
#E170D6 #9DE170 #70E1B3
monochromatic
#B125A4 #D63DC7 #E170D6 #ECA3E5 #F6D5F3

Accessibility & contrast

On white

2.80
#E170D6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#E170D6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E170D6
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E170D6#FFFFFF#000000##000000
##E170D61.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B90D9
Deuteranopia (green-blind)
#8CA0D3
Tritanopia (blue-blind)
#E97999
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #e170d6;
/* rgb */ color: rgb(225, 112, 214);
/* oklch */ color: oklch(71.1% 0.186 331.1);
Tailwind
colors: {
  custom: {
    50: '#ed9de3',
    500: '#e170d6',
    950: '#000000',
  },
}
SCSS
$custom: #e170d6;
$custom-light: #ed9de3;
$custom-dark: #000000;
JSON
{
  "hex": "#e170d6",
  "rgb": {
    "r": 225,
    "g": 112,
    "b": 214
  },
  "hsl": {
    "h": 305.841,
    "s": 65.318,
    "l": 66.078
  },
  "oklch": {
    "l": 0.7108,
    "c": 0.18577,
    "h": 331.1
  },
  "luminance": 0.32451
}

Semantic roles & 50–950 ramp

primary
#E170D6
secondary
#C4E9C7
accent
#CD2A18
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#170F15
muted
#857E83

Preview Lab

Preview with #E170D6

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

Preview Lab → · Contrast checker → · Palette generator →

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