#E4AFEE#E4AFEE

#E4AFEE is a very light, moderate purple. Relative luminance 0.533; OKLCH L 82.3% C 0.103 H 321.0°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#E4AFEE
RGBrgb(228, 175, 238)
HSLhsl(290, 65%, 81%)
HSVhsv(290, 26%, 93%)
CMYKcmyk(4.2%, 26.5%, 0%, 6.7%)
CIE-LABlab(78.07, 29.92, -24.01)
CIE-LCHlch(78.07, 38.36, 321.25°)
OKLaboklab(82.27% 0.0804 -0.0651)
OKLCHoklch(82.27% 0.103 321)
XYZxyz(62.7555, 53.3284, 87.8599)
Luminance0.5333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4AFEE #B9EEAF
analogous
#C4AFEE #E4AFEE #EEAFD8
triadic
#E4AFEE #EEE4AF #AFEEE4
tetradic
#E4AFEE #EEC4AF #B9EEAF #AFD8EE
square
#E4AFEE #EEC4AF #B9EEAF #AFD8EE
split-complementary
#E4AFEE #D8EEAF #AFEEC4
monochromatic
#C24AD9 #D37DE3 #E4AFEE #F5E1F9 #F6E6FA

Accessibility & contrast

On white

1.80
#E4AFEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#E4AFEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4AFEE
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4AFEE#FFFFFF#000000##000000
##E4AFEE1.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9BDF1
Deuteranopia (green-blind)
#B4C3EC
Tritanopia (blue-blind)
#E6B5C5
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #e4afee;
/* rgb */ color: rgb(228, 175, 238);
/* oklch */ color: oklch(82.3% 0.103 321.0);
Tailwind
colors: {
  custom: {
    50: '#edc7f3',
    500: '#e4afee',
    950: '#000000',
  },
}
SCSS
$custom: #e4afee;
$custom-light: #edc7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#e4afee",
  "rgb": {
    "r": 228,
    "g": 175,
    "b": 238
  },
  "hsl": {
    "h": 290.476,
    "s": 64.948,
    "l": 80.98
  },
  "oklch": {
    "l": 0.82267,
    "c": 0.10343,
    "h": 321
  },
  "luminance": 0.53327
}

Semantic roles & 50–950 ramp

primary
#E4AFEE
secondary
#83CC76
accent
#CD1935
background
#FFFDFF
surface
#FEF9FE
border
#D6D2D6
text
#161317
muted
#858285

Preview Lab

Preview with #E4AFEE

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

Preview Lab → · Contrast checker → · Palette generator →

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