#E170F2#E170F2

#E170F2 is a light, highly saturated purple. Relative luminance 0.340; OKLCH L 72.4% C 0.211 H 322.3°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#E170F2
RGBrgb(225, 112, 242)
HSLhsl(292, 83%, 69%)
HSVhsv(292, 54%, 95%)
CMYKcmyk(7%, 53.7%, 0%, 5.1%)
CIE-LABlab(64.97, 62.20, -46.53)
CIE-LCHlch(64.97, 77.68, 323.20°)
OKLaboklab(72.41% 0.1665 -0.1289)
OKLCHoklch(72.41% 0.211 322.3)
XYZxyz(52.8708, 34.0092, 87.7667)
Luminance0.3401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E170F2 #81F270
analogous
#A070F2 #E170F2 #F270C2
triadic
#E170F2 #F2E170 #70F2E1
tetradic
#E170F2 #F2A070 #81F270 #70C2F2
square
#E170F2 #F2A070 #81F270 #70C2F2
split-complementary
#E170F2 #C2F270 #70F2A0
monochromatic
#BB13D4 #D538ED #E170F2 #EDA8F7 #F9E0FC

Accessibility & contrast

On white

2.69
#E170F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#E170F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E170F2
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E170F2#FFFFFF#000000##000000
##E170F21.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A95F6
Deuteranopia (green-blind)
#7FA2EE
Tritanopia (blue-blind)
#E482A7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e170f2;
/* rgb */ color: rgb(225, 112, 242);
/* oklch */ color: oklch(72.4% 0.211 322.3);
Tailwind
colors: {
  custom: {
    50: '#ed9ef7',
    500: '#e170f2',
    950: '#000000',
  },
}
SCSS
$custom: #e170f2;
$custom-light: #ed9ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#e170f2",
  "rgb": {
    "r": 225,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 292.154,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72413,
    "c": 0.21052,
    "h": 322.3
  },
  "luminance": 0.34007
}

Semantic roles & 50–950 ramp

primary
#E170F2
secondary
#D1F2CC
accent
#E00622
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E170F2

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

Preview Lab → · Contrast checker → · Palette generator →

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