#E2ACFE#E2ACFE

#E2ACFE is a very light, vivid violet. Relative luminance 0.528; OKLCH L 82.2% C 0.126 H 313.7°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#E2ACFE
RGBrgb(226, 172, 254)
HSLhsl(280, 98%, 84%)
HSVhsv(280, 32%, 100%)
CMYKcmyk(11%, 32.3%, 0%, 0.4%)
CIE-LABlab(77.77, 34.05, -33.10)
CIE-LCHlch(77.77, 47.48, 315.81°)
OKLaboklab(82.19% 0.0867 -0.0907)
OKLCHoklch(82.19% 0.126 313.7)
XYZxyz(64.0031, 52.8307, 100.5724)
Luminance0.5283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2ACFE #C8FEAC
analogous
#B9ACFE #E2ACFE #FEACF1
triadic
#E2ACFE #FEE2AC #ACFEE2
tetradic
#E2ACFE #FEB9AC #C8FEAC #ACF1FE
square
#E2ACFE #FEB9AC #C8FEAC #ACF1FE
split-complementary
#E2ACFE #F1FEAC #ACFEB9
monochromatic
#B833FD #CD70FD #E2ACFE #F4E1FF #F4E1FF

Accessibility & contrast

On white

1.82
#E2ACFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#E2ACFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2ACFE
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2ACFE#FFFFFF#000000##000000
##E2ACFE1.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FBDFF
Deuteranopia (green-blind)
#ABC2FB
Tritanopia (blue-blind)
#E0B7CA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #e2acfe;
/* rgb */ color: rgb(226, 172, 254);
/* oklch */ color: oklch(82.2% 0.126 313.7);
Tailwind
colors: {
  custom: {
    50: '#ecc5ff',
    500: '#e2acfe',
    950: '#000000',
  },
}
SCSS
$custom: #e2acfe;
$custom-light: #ecc5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e2acfe",
  "rgb": {
    "r": 226,
    "g": 172,
    "b": 254
  },
  "hsl": {
    "h": 279.512,
    "s": 97.619,
    "l": 83.529
  },
  "oklch": {
    "l": 0.8219,
    "c": 0.12553,
    "h": 313.7
  },
  "luminance": 0.5283
}

Semantic roles & 50–950 ramp

primary
#E2ACFE
secondary
#94E36B
accent
#E6004E
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161318
muted
#858286

Preview Lab

Preview with #E2ACFE

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

Preview Lab → · Contrast checker → · Palette generator →

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