#E7ACFE#E7ACFE

#E7ACFE is a very light, vivid purple. Relative luminance 0.536; OKLCH L 82.7% C 0.128 H 316.2°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#E7ACFE
RGBrgb(231, 172, 254)
HSLhsl(283, 98%, 84%)
HSVhsv(283, 32%, 100%)
CMYKcmyk(9.1%, 32.3%, 0%, 0.4%)
CIE-LABlab(78.26, 35.57, -32.31)
CIE-LCHlch(78.26, 48.05, 317.75°)
OKLaboklab(82.67% 0.0924 -0.0884)
OKLCHoklch(82.67% 0.128 316.2)
XYZxyz(65.5942, 53.6511, 100.6470)
Luminance0.5365 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7ACFE #C3FEAC
analogous
#BEACFE #E7ACFE #FEACEC
triadic
#E7ACFE #FEE7AC #ACFEE7
tetradic
#E7ACFE #FEBEAC #C3FEAC #ACECFE
square
#E7ACFE #FEBEAC #C3FEAC #ACECFE
split-complementary
#E7ACFE #ECFEAC #ACFEBE
monochromatic
#C433FD #D670FD #E7ACFE #F6E1FF #F6E1FF

Accessibility & contrast

On white

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

On black

11.73
#E7ACFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7ACFE
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7ACFE#FFFFFF#000000##000000
##E7ACFE1.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7acfe;
/* rgb */ color: rgb(231, 172, 254);
/* oklch */ color: oklch(82.7% 0.128 316.2);
Tailwind
colors: {
  custom: {
    50: '#efc5ff',
    500: '#e7acfe',
    950: '#000000',
  },
}
SCSS
$custom: #e7acfe;
$custom-light: #efc5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e7acfe",
  "rgb": {
    "r": 231,
    "g": 172,
    "b": 254
  },
  "hsl": {
    "h": 283.171,
    "s": 97.619,
    "l": 83.529
  },
  "oklch": {
    "l": 0.82668,
    "c": 0.12786,
    "h": 316.2
  },
  "luminance": 0.5365
}

Semantic roles & 50–950 ramp

primary
#E7ACFE
secondary
#8DE36B
accent
#E60040
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161318
muted
#858286

Preview Lab

Preview with #E7ACFE

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

Preview Lab → · Contrast checker → · Palette generator →

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