#E17EFB#E17EFB

#E17EFB is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.7% C 0.198 H 319.0°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#E17EFB
RGBrgb(225, 126, 251)
HSLhsl(288, 94%, 74%)
HSVhsv(288, 50%, 98%)
CMYKcmyk(10.4%, 49.8%, 0%, 1.6%)
CIE-LABlab(67.94, 57.14, -46.79)
CIE-LCHlch(67.94, 73.86, 320.69°)
OKLaboklab(74.74% 0.1492 -0.1297)
OKLCHoklch(74.74% 0.198 319)
XYZxyz(55.9225, 37.8964, 95.6170)
Luminance0.3789 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E17EFB #98FB7E
analogous
#A37EFB #E17EFB #FB7ED7
triadic
#E17EFB #FBE17E #7EFBE1
tetradic
#E17EFB #FBA37E #98FB7E #7ED7FB
square
#E17EFB #FBA37E #98FB7E #7ED7FB
split-complementary
#E17EFB #D7FB7E #7EFBA3
monochromatic
#C508F7 #D343F9 #E17EFB #EFB9FD #F8E1FE

Accessibility & contrast

On white

2.45
#E17EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#E17EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E17EFB
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E17EFB#FFFFFF#000000##000000
##E17EFB1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#85A9F8
Tritanopia (blue-blind)
#E290B1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e17efb;
/* rgb */ color: rgb(225, 126, 251);
/* oklch */ color: oklch(74.7% 0.198 319.0);
Tailwind
colors: {
  custom: {
    50: '#eda6fd',
    500: '#e17efb',
    950: '#000000',
  },
}
SCSS
$custom: #e17efb;
$custom-light: #eda6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e17efb",
  "rgb": {
    "r": 225,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 287.52,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74743,
    "c": 0.19769,
    "h": 319
  },
  "luminance": 0.37894
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E17EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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