#E7AFFD#E7AFFD

#E7AFFD is a very light, vivid purple. Relative luminance 0.547; OKLCH L 83.1% C 0.122 H 316.2°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#E7AFFD
RGBrgb(231, 175, 253)
HSLhsl(283, 95%, 84%)
HSVhsv(283, 31%, 99%)
CMYKcmyk(8.7%, 30.8%, 0%, 0.8%)
CIE-LABlab(78.89, 33.77, -30.80)
CIE-LCHlch(78.89, 45.71, 317.64°)
OKLaboklab(83.14% 0.0878 -0.0841)
OKLCHoklch(83.14% 0.122 316.2)
XYZxyz(66.0119, 54.7420, 99.9983)
Luminance0.5474 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7AFFD #C5FDAF
analogous
#C0AFFD #E7AFFD #FDAFEC
triadic
#E7AFFD #FDE7AF #AFFDE7
tetradic
#E7AFFD #FDC0AF #C5FDAF #AFECFD
square
#E7AFFD #FDC0AF #C5FDAF #AFECFD
split-complementary
#E7AFFD #ECFDAF #AFFDC0
monochromatic
#C338FA #D573FC #E7AFFD #F6E1FE #F6E1FE

Accessibility & contrast

On white

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

On black

11.95
#E7AFFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7AFFD
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7AFFD#FFFFFF#000000##000000
##E7AFFD1.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7affd;
/* rgb */ color: rgb(231, 175, 253);
/* oklch */ color: oklch(83.1% 0.122 316.2);
Tailwind
colors: {
  custom: {
    50: '#efc7fe',
    500: '#e7affd',
    950: '#000000',
  },
}
SCSS
$custom: #e7affd;
$custom-light: #efc7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e7affd",
  "rgb": {
    "r": 231,
    "g": 175,
    "b": 253
  },
  "hsl": {
    "h": 283.077,
    "s": 95.122,
    "l": 83.922
  },
  "oklch": {
    "l": 0.83139,
    "c": 0.12161,
    "h": 316.2
  },
  "luminance": 0.54741
}

Semantic roles & 50–950 ramp

primary
#E7AFFD
secondary
#8FE26E
accent
#E60041
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161317
muted
#858285

Preview Lab

Preview with #E7AFFD

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

Preview Lab → · Contrast checker → · Palette generator →

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