#E7AFFE#E7AFFE

#E7AFFE is a very light, vivid purple. Relative luminance 0.548; OKLCH L 83.2% C 0.123 H 315.8°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#E7AFFE
RGBrgb(231, 175, 254)
HSLhsl(283, 98%, 84%)
HSVhsv(283, 31%, 100%)
CMYKcmyk(9.1%, 31.1%, 0%, 0.4%)
CIE-LABlab(78.93, 33.97, -31.28)
CIE-LCHlch(78.93, 46.18, 317.36°)
OKLaboklab(83.18% 0.0881 -0.0855)
OKLCHoklch(83.18% 0.123 315.8)
XYZxyz(66.1716, 54.8059, 100.8395)
Luminance0.5481 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7AFFE #C6FEAF
analogous
#C0AFFE #E7AFFE #FEAFED
triadic
#E7AFFE #FEE7AF #AFFEE7
tetradic
#E7AFFE #FEC0AF #C6FEAF #AFEDFE
square
#E7AFFE #FEC0AF #C6FEAF #AFEDFE
split-complementary
#E7AFFE #EDFEAF #AFFEC0
monochromatic
#C336FC #D573FD #E7AFFE #F6E1FF #F6E1FF

Accessibility & contrast

On white

1.76
#E7AFFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#E7AFFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7AFFE
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7AFFE#FFFFFF#000000##000000
##E7AFFE1.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4C0FF
Deuteranopia (green-blind)
#B0C5FC
Tritanopia (blue-blind)
#E6B9CC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e7affe;
/* rgb */ color: rgb(231, 175, 254);
/* oklch */ color: oklch(83.2% 0.123 315.8);
Tailwind
colors: {
  custom: {
    50: '#efc7ff',
    500: '#e7affe',
    950: '#000000',
  },
}
SCSS
$custom: #e7affe;
$custom-light: #efc7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e7affe",
  "rgb": {
    "r": 231,
    "g": 175,
    "b": 254
  },
  "hsl": {
    "h": 282.532,
    "s": 97.531,
    "l": 84.118
  },
  "oklch": {
    "l": 0.8318,
    "c": 0.12274,
    "h": 315.8
  },
  "luminance": 0.54805
}

Semantic roles & 50–950 ramp

primary
#E7AFFE
secondary
#90E46E
accent
#E60043
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161318
muted
#858286

Preview Lab

Preview with #E7AFFE

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

Preview Lab → · Contrast checker → · Palette generator →

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