#E5AFF7#E5AFF7

#E5AFF7 is a very light, moderate purple. Relative luminance 0.540; OKLCH L 82.7% C 0.114 H 317.5°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#E5AFF7
RGBrgb(229, 175, 247)
HSLhsl(285, 82%, 83%)
HSVhsv(285, 29%, 97%)
CMYKcmyk(7.3%, 29.1%, 0%, 3.1%)
CIE-LABlab(78.48, 31.97, -28.22)
CIE-LCHlch(78.48, 42.65, 318.57°)
OKLaboklab(82.71% 0.084 -0.0769)
OKLCHoklch(82.71% 0.114 317.5)
XYZxyz(64.4292, 54.0347, 95.0133)
Luminance0.5403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5AFF7 #C1F7AF
analogous
#C1AFF7 #E5AFF7 #F7AFE5
triadic
#E5AFF7 #F7E5AF #AFF7E5
tetradic
#E5AFF7 #F7C1AF #C1F7AF #AFE5F7
square
#E5AFF7 #F7C1AF #C1F7AF #AFE5F7
split-complementary
#E5AFF7 #E5F7AF #AFF7C1
monochromatic
#C140EC #D377F1 #E5AFF7 #F6E3FC #F6E3FC

Accessibility & contrast

On white

1.78
#E5AFF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#E5AFF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5AFF7
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5AFF7#FFFFFF#000000##000000
##E5AFF71.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6BFFA
Deuteranopia (green-blind)
#B2C4F5
Tritanopia (blue-blind)
#E5B7C9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #e5aff7;
/* rgb */ color: rgb(229, 175, 247);
/* oklch */ color: oklch(82.7% 0.114 317.5);
Tailwind
colors: {
  custom: {
    50: '#eec7fa',
    500: '#e5aff7',
    950: '#000000',
  },
}
SCSS
$custom: #e5aff7;
$custom-light: #eec7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#e5aff7",
  "rgb": {
    "r": 229,
    "g": 175,
    "b": 247
  },
  "hsl": {
    "h": 285,
    "s": 81.818,
    "l": 82.745
  },
  "oklch": {
    "l": 0.8271,
    "c": 0.11388,
    "h": 317.5
  },
  "luminance": 0.54033
}

Semantic roles & 50–950 ramp

primary
#E5AFF7
secondary
#8BD972
accent
#DE073D
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161317
muted
#858285

Preview Lab

Preview with #E5AFF7

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

Preview Lab → · Contrast checker → · Palette generator →

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