#E17AFB#E17AFB

#E17AFB is a light, highly saturated purple. Relative luminance 0.369; OKLCH L 74.2% C 0.204 H 319.2°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#E17AFB
RGBrgb(225, 122, 251)
HSLhsl(288, 94%, 73%)
HSVhsv(288, 51%, 98%)
CMYKcmyk(10.4%, 51.4%, 0%, 1.6%)
CIE-LABlab(67.20, 59.11, -47.97)
CIE-LCHlch(67.20, 76.12, 320.94°)
OKLaboklab(74.19% 0.1544 -0.1331)
OKLCHoklch(74.19% 0.204 319.2)
XYZxyz(55.4212, 36.8938, 95.4499)
Luminance0.3689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E17AFB #94FB7A
analogous
#A07AFB #E17AFB #FB7AD4
triadic
#E17AFB #FBE17A #7AFBE1
tetradic
#E17AFB #FBA07A #94FB7A #7AD4FB
square
#E17AFB #FBA07A #94FB7A #7AD4FB
split-complementary
#E17AFB #D4FB7A #7AFBA0
monochromatic
#C407F3 #D43FF9 #E17AFB #EEB5FD #F8E1FE

Accessibility & contrast

On white

2.51
#E17AFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#E17AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E17AFB
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E17AFB#FFFFFF#000000##000000
##E17AFB1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#82A7F7
Tritanopia (blue-blind)
#E28DAF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #e17afb;
/* rgb */ color: rgb(225, 122, 251);
/* oklch */ color: oklch(74.2% 0.204 319.2);
Tailwind
colors: {
  custom: {
    50: '#eda4fd',
    500: '#e17afb',
    950: '#000000',
  },
}
SCSS
$custom: #e17afb;
$custom-light: #eda4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e17afb",
  "rgb": {
    "r": 225,
    "g": 122,
    "b": 251
  },
  "hsl": {
    "h": 287.907,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74192,
    "c": 0.20388,
    "h": 319.2
  },
  "luminance": 0.36892
}

Semantic roles & 50–950 ramp

primary
#E17AFB
secondary
#DBF6D5
accent
#E6002E
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E17AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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