#E170F1#E170F1

#E170F1 is a light, highly saturated purple. Relative luminance 0.339; OKLCH L 72.4% C 0.210 H 322.5°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#E170F1
RGBrgb(225, 112, 241)
HSLhsl(293, 82%, 69%)
HSVhsv(293, 54%, 95%)
CMYKcmyk(6.6%, 53.5%, 0%, 5.5%)
CIE-LABlab(64.92, 62.02, -46.05)
CIE-LCHlch(64.92, 77.25, 323.40°)
OKLaboklab(72.36% 0.1664 -0.1275)
OKLCHoklch(72.36% 0.21 322.5)
XYZxyz(52.7211, 33.9493, 86.9779)
Luminance0.3395 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E170F1 #80F170
analogous
#A170F1 #E170F1 #F170C1
triadic
#E170F1 #F1E170 #70F1E1
tetradic
#E170F1 #F1A170 #80F170 #70C1F1
square
#E170F1 #F1A170 #80F170 #70C1F1
split-complementary
#E170F1 #C1F170 #70F1A1
monochromatic
#BB15D2 #D538EC #E170F1 #EDA8F6 #F8DFFC

Accessibility & contrast

On white

2.70
#E170F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#E170F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E170F1
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E170F1#FFFFFF#000000##000000
##E170F11.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B95F5
Deuteranopia (green-blind)
#80A2ED
Tritanopia (blue-blind)
#E482A6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #e170f1;
/* rgb */ color: rgb(225, 112, 241);
/* oklch */ color: oklch(72.4% 0.210 322.5);
Tailwind
colors: {
  custom: {
    50: '#ed9ef6',
    500: '#e170f1',
    950: '#000000',
  },
}
SCSS
$custom: #e170f1;
$custom-light: #ed9ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#e170f1",
  "rgb": {
    "r": 225,
    "g": 112,
    "b": 241
  },
  "hsl": {
    "h": 292.558,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.72363,
    "c": 0.2096,
    "h": 322.5
  },
  "luminance": 0.33947
}

Semantic roles & 50–950 ramp

primary
#E170F1
secondary
#D0F1CC
accent
#DF0722
background
#FEFAFF
surface
#FDF3FE
border
#D5CDD6
text
#170F17
muted
#857F85

Preview Lab

Preview with #E170F1

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

Preview Lab → · Contrast checker → · Palette generator →

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