#E17DFA#E17DFA

#E17DFA is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.6% C 0.198 H 319.3°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#E17DFA
RGBrgb(225, 125, 250)
HSLhsl(288, 93%, 74%)
HSVhsv(288, 50%, 98%)
CMYKcmyk(10%, 50%, 0%, 2%)
CIE-LABlab(67.71, 57.45, -46.61)
CIE-LCHlch(67.71, 73.98, 320.94°)
OKLaboklab(74.55% 0.1504 -0.1292)
OKLCHoklch(74.55% 0.198 319.3)
XYZxyz(55.6381, 37.5790, 94.7466)
Luminance0.3758 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E17DFA #96FA7D
analogous
#A27DFA #E17DFA #FA7DD4
triadic
#E17DFA #FAE17D #7DFAE1
tetradic
#E17DFA #FAA27D #96FA7D #7DD4FA
square
#E17DFA #FAA27D #96FA7D #7DD4FA
split-complementary
#E17DFA #D4FA7D #7DFAA2
monochromatic
#C409F3 #D342F8 #E17DFA #EFB8FC #F8E2FE

Accessibility & contrast

On white

2.47
#E17DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#E17DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E17DFA
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E17DFA#FFFFFF#000000##000000
##E17DFA1.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFE
Deuteranopia (green-blind)
#85A8F7
Tritanopia (blue-blind)
#E28FB0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e17dfa;
/* rgb */ color: rgb(225, 125, 250);
/* oklch */ color: oklch(74.6% 0.198 319.3);
Tailwind
colors: {
  custom: {
    50: '#eda6fc',
    500: '#e17dfa',
    950: '#000000',
  },
}
SCSS
$custom: #e17dfa;
$custom-light: #eda6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#e17dfa",
  "rgb": {
    "r": 225,
    "g": 125,
    "b": 250
  },
  "hsl": {
    "h": 288,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74554,
    "c": 0.19826,
    "h": 319.3
  },
  "luminance": 0.37577
}

Semantic roles & 50–950 ramp

primary
#E17DFA
secondary
#DCF6D5
accent
#E6002E
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #E17DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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