#E7AFFC#E7AFFC

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

Color values

HEX#E7AFFC
RGBrgb(231, 175, 252)
HSLhsl(284, 93%, 84%)
HSVhsv(284, 31%, 99%)
CMYKcmyk(8.3%, 30.6%, 0%, 1.2%)
CIE-LABlab(78.86, 33.57, -30.32)
CIE-LCHlch(78.86, 45.24, 317.92°)
OKLaboklab(83.1% 0.0875 -0.0828)
OKLCHoklch(83.1% 0.12 316.6)
XYZxyz(65.8531, 54.6785, 99.1615)
Luminance0.5468 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7AFFC #C4FCAF
analogous
#C0AFFC #E7AFFC #FCAFEA
triadic
#E7AFFC #FCE7AF #AFFCE7
tetradic
#E7AFFC #FCC0AF #C4FCAF #AFEAFC
square
#E7AFFC #FCC0AF #C4FCAF #AFEAFC
split-complementary
#E7AFFC #EAFCAF #AFFCC0
monochromatic
#C439F8 #D574FA #E7AFFC #F6E2FE #F6E2FE

Accessibility & contrast

On white

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

On black

11.94
#E7AFFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7AFFC
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7AFFC#FFFFFF#000000##000000
##E7AFFC1.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7affc;
/* rgb */ color: rgb(231, 175, 252);
/* oklch */ color: oklch(83.1% 0.120 316.6);
Tailwind
colors: {
  custom: {
    50: '#efc7fd',
    500: '#e7affc',
    950: '#000000',
  },
}
SCSS
$custom: #e7affc;
$custom-light: #efc7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e7affc",
  "rgb": {
    "r": 231,
    "g": 175,
    "b": 252
  },
  "hsl": {
    "h": 283.636,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.83099,
    "c": 0.12049,
    "h": 316.6
  },
  "luminance": 0.54677
}

Semantic roles & 50–950 ramp

primary
#E7AFFC
secondary
#8EE06F
accent
#E6003F
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161317
muted
#858285

Preview Lab

Preview with #E7AFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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