#E7ACFF#E7ACFF

#E7ACFF is a very light, vivid purple. Relative luminance 0.537; OKLCH L 82.7% C 0.129 H 315.9°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#E7ACFF
RGBrgb(231, 172, 255)
HSLhsl(283, 100%, 84%)
HSVhsv(283, 33%, 100%)
CMYKcmyk(9.4%, 32.5%, 0%, 0%)
CIE-LABlab(78.30, 35.77, -32.79)
CIE-LCHlch(78.30, 48.52, 317.49°)
OKLaboklab(82.71% 0.0926 -0.0898)
OKLCHoklch(82.71% 0.129 315.9)
XYZxyz(65.7548, 53.7153, 101.4926)
Luminance0.5371 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7ACFF #C4FFAC
analogous
#BDACFF #E7ACFF #FFACED
triadic
#E7ACFF #FFE7AC #ACFFE7
tetradic
#E7ACFF #FFBDAC #C4FFAC #ACEDFF
square
#E7ACFF #FFBDAC #C4FFAC #ACEDFF
split-complementary
#E7ACFF #EDFFAC #ACFFBD
monochromatic
#C432FF #D56FFF #E7ACFF #F6E0FF #F6E0FF

Accessibility & contrast

On white

1.79
#E7ACFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#E7ACFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7ACFF
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7ACFF#FFFFFF#000000##000000
##E7ACFF1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0BEFF
Deuteranopia (green-blind)
#AEC3FC
Tritanopia (blue-blind)
#E6B6CA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #e7acff;
/* rgb */ color: rgb(231, 172, 255);
/* oklch */ color: oklch(82.7% 0.129 315.9);
Tailwind
colors: {
  custom: {
    50: '#efc5ff',
    500: '#e7acff',
    950: '#000000',
  },
}
SCSS
$custom: #e7acff;
$custom-light: #efc5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e7acff",
  "rgb": {
    "r": 231,
    "g": 172,
    "b": 255
  },
  "hsl": {
    "h": 282.651,
    "s": 100,
    "l": 83.725
  },
  "oklch": {
    "l": 0.82709,
    "c": 0.12898,
    "h": 315.9
  },
  "luminance": 0.53714
}

Semantic roles & 50–950 ramp

primary
#E7ACFF
secondary
#8EE56A
accent
#E60042
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161318
muted
#858286

Preview Lab

Preview with #E7ACFF

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

Preview Lab → · Contrast checker → · Palette generator →

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