#E170CF#E170CF

#E170CF is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.8% C 0.180 H 333.7°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#E170CF
RGBrgb(225, 112, 207)
HSLhsl(310, 65%, 66%)
HSVhsv(310, 50%, 88%)
CMYKcmyk(0%, 50.2%, 8%, 11.8%)
CIE-LABlab(63.43, 56.11, -29.43)
CIE-LCHlch(63.43, 63.36, 332.32°)
OKLaboklab(70.77% 0.1613 -0.0799)
OKLCHoklch(70.77% 0.18 333.7)
XYZxyz(48.1080, 32.1040, 62.6822)
Luminance0.3210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E170CF #70E182
analogous
#BB70E1 #E170CF #E17096
triadic
#E170CF #CFE170 #70CFE1
tetradic
#E170CF #E1BB70 #70E182 #7096E1
square
#E170CF #E1BB70 #70E182 #7096E1
split-complementary
#E170CF #96E170 #70E1BB
monochromatic
#B1259B #D63DBE #E170CF #ECA3E0 #F6D5F1

Accessibility & contrast

On white

2.83
#E170CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#E170CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E170CF
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E170CF#FFFFFF#000000##000000
##E170CF1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8FD2
Deuteranopia (green-blind)
#8FA0CC
Tritanopia (blue-blind)
#EA7796
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #e170cf;
/* rgb */ color: rgb(225, 112, 207);
/* oklch */ color: oklch(70.8% 0.180 333.7);
Tailwind
colors: {
  custom: {
    50: '#ed9dde',
    500: '#e170cf',
    950: '#000000',
  },
}
SCSS
$custom: #e170cf;
$custom-light: #ed9dde;
$custom-dark: #000000;
JSON
{
  "hex": "#e170cf",
  "rgb": {
    "r": 225,
    "g": 112,
    "b": 207
  },
  "hsl": {
    "h": 309.558,
    "s": 65.318,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70772,
    "c": 0.18001,
    "h": 333.7
  },
  "luminance": 0.32101
}

Semantic roles & 50–950 ramp

primary
#E170CF
secondary
#C4E9CA
accent
#CD3518
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#170F15
muted
#857E83

Preview Lab

Preview with #E170CF

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

Preview Lab → · Contrast checker → · Palette generator →

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