#E170DB#E170DB

#E170DB is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.3% C 0.190 H 329.4°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#E170DB
RGBrgb(225, 112, 219)
HSLhsl(303, 65%, 66%)
HSVhsv(303, 50%, 88%)
CMYKcmyk(0%, 50.2%, 2.7%, 11.8%)
CIE-LABlab(63.93, 58.11, -35.38)
CIE-LCHlch(63.93, 68.04, 328.66°)
OKLaboklab(71.31% 0.1635 -0.0968)
OKLCHoklch(71.31% 0.19 329.4)
XYZxyz(49.6311, 32.7133, 70.7042)
Luminance0.3271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E170DB #70E176
analogous
#AE70E1 #E170DB #E170A2
triadic
#E170DB #DBE170 #70DBE1
tetradic
#E170DB #E1AE70 #70E176 #70A2E1
square
#E170DB #E1AE70 #70E176 #70A2E1
split-complementary
#E170DB #A2E170 #70E1AE
monochromatic
#B125AA #D63DCE #E170DB #ECA3E8 #F6D5F4

Accessibility & contrast

On white

2.78
#E170DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#E170DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E170DB
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E170DB#FFFFFF#000000##000000
##E170DB1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6991DF
Deuteranopia (green-blind)
#8AA0D8
Tritanopia (blue-blind)
#E87A9C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #e170db;
/* rgb */ color: rgb(225, 112, 219);
/* oklch */ color: oklch(71.3% 0.190 329.4);
Tailwind
colors: {
  custom: {
    50: '#ed9de6',
    500: '#e170db',
    950: '#000000',
  },
}
SCSS
$custom: #e170db;
$custom-light: #ed9de6;
$custom-dark: #000000;
JSON
{
  "hex": "#e170db",
  "rgb": {
    "r": 225,
    "g": 112,
    "b": 219
  },
  "hsl": {
    "h": 303.186,
    "s": 65.318,
    "l": 66.078
  },
  "oklch": {
    "l": 0.71306,
    "c": 0.19,
    "h": 329.4
  },
  "luminance": 0.3271
}

Semantic roles & 50–950 ramp

primary
#E170DB
secondary
#C4E9C6
accent
#CD2218
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#170F16
muted
#857E84

Preview Lab

Preview with #E170DB

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

Preview Lab → · Contrast checker → · Palette generator →

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