#E17FFC#E17FFC

#E17FFC is a light, vivid purple. Relative luminance 0.382; OKLCH L 74.9% C 0.197 H 318.6°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#E17FFC
RGBrgb(225, 127, 252)
HSLhsl(287, 95%, 74%)
HSVhsv(287, 50%, 99%)
CMYKcmyk(10.7%, 49.6%, 0%, 1.2%)
CIE-LABlab(68.18, 56.84, -46.97)
CIE-LCHlch(68.18, 73.74, 320.43°)
OKLaboklab(74.93% 0.148 -0.1303)
OKLCHoklch(74.93% 0.197 318.6)
XYZxyz(56.2091, 38.2166, 96.4923)
Luminance0.3821 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E17FFC #9AFC7F
analogous
#A37FFC #E17FFC #FC7FD9
triadic
#E17FFC #FCE17F #7FFCE1
tetradic
#E17FFC #FCA37F #9AFC7F #7FD9FC
square
#E17FFC #FCA37F #9AFC7F #7FD9FC
split-complementary
#E17FFC #D9FC7F #7FFCA3
monochromatic
#C507F9 #D343FB #E17FFC #EFBBFD #F8E1FE

Accessibility & contrast

On white

2.43
#E17FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#E17FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E17FFC
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E17FFC#FFFFFF#000000##000000
##E17FFC1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#86AAF9
Tritanopia (blue-blind)
#E191B2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e17ffc;
/* rgb */ color: rgb(225, 127, 252);
/* oklch */ color: oklch(74.9% 0.197 318.6);
Tailwind
colors: {
  custom: {
    50: '#eda7fe',
    500: '#e17ffc',
    950: '#000000',
  },
}
SCSS
$custom: #e17ffc;
$custom-light: #eda7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e17ffc",
  "rgb": {
    "r": 225,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 287.04,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74933,
    "c": 0.19712,
    "h": 318.6
  },
  "luminance": 0.38215
}

Semantic roles & 50–950 ramp

primary
#E17FFC
secondary
#DCF7D4
accent
#E60032
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #E17FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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