#E17DFB#E17DFB

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

Color values

HEX#E17DFB
RGBrgb(225, 125, 251)
HSLhsl(288, 94%, 74%)
HSVhsv(288, 50%, 98%)
CMYKcmyk(10.4%, 50.2%, 0%, 1.6%)
CIE-LABlab(67.76, 57.64, -47.09)
CIE-LCHlch(67.76, 74.43, 320.75°)
OKLaboklab(74.6% 0.1505 -0.1306)
OKLCHoklch(74.6% 0.199 319)
XYZxyz(55.7953, 37.6419, 95.5746)
Luminance0.3764 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E17DFB #97FB7D
analogous
#A27DFB #E17DFB #FB7DD6
triadic
#E17DFB #FBE17D #7DFBE1
tetradic
#E17DFB #FBA27D #97FB7D #7DD6FB
square
#E17DFB #FBA27D #97FB7D #7DD6FB
split-complementary
#E17DFB #D6FB7D #7DFBA2
monochromatic
#C508F6 #D342F9 #E17DFB #EFB8FD #F8E1FE

Accessibility & contrast

On white

2.46
#E17DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#E17DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E17DFB
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E17DFB#FFFFFF#000000##000000
##E17DFB1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFF
Deuteranopia (green-blind)
#85A9F8
Tritanopia (blue-blind)
#E28FB1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e17dfb;
/* rgb */ color: rgb(225, 125, 251);
/* oklch */ color: oklch(74.6% 0.199 319.0);
Tailwind
colors: {
  custom: {
    50: '#eda6fd',
    500: '#e17dfb',
    950: '#000000',
  },
}
SCSS
$custom: #e17dfb;
$custom-light: #eda6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e17dfb",
  "rgb": {
    "r": 225,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 287.619,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74604,
    "c": 0.19924,
    "h": 319
  },
  "luminance": 0.3764
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E17DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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