#E2ACFF#E2ACFF

#E2ACFF is a very light, vivid violet. Relative luminance 0.529; OKLCH L 82.2% C 0.127 H 313.4°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#E2ACFF
RGBrgb(226, 172, 255)
HSLhsl(279, 100%, 84%)
HSVhsv(279, 33%, 100%)
CMYKcmyk(11.4%, 32.5%, 0%, 0%)
CIE-LABlab(77.81, 34.25, -33.57)
CIE-LCHlch(77.81, 47.96, 315.57°)
OKLaboklab(82.23% 0.087 -0.0921)
OKLCHoklch(82.23% 0.127 313.4)
XYZxyz(64.1636, 52.8949, 101.4180)
Luminance0.5289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2ACFF #C9FFAC
analogous
#B8ACFF #E2ACFF #FFACF2
triadic
#E2ACFF #FFE2AC #ACFFE2
tetradic
#E2ACFF #FFB8AC #C9FFAC #ACF2FF
square
#E2ACFF #FFB8AC #C9FFAC #ACF2FF
split-complementary
#E2ACFF #F2FFAC #ACFFB8
monochromatic
#B732FF #CD6FFF #E2ACFF #F4E0FF #F4E0FF

Accessibility & contrast

On white

1.81
#E2ACFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#E2ACFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2ACFF
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2ACFF#FFFFFF#000000##000000
##E2ACFF1.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2acff;
/* rgb */ color: rgb(226, 172, 255);
/* oklch */ color: oklch(82.2% 0.127 313.4);
Tailwind
colors: {
  custom: {
    50: '#ecc5ff',
    500: '#e2acff',
    950: '#000000',
  },
}
SCSS
$custom: #e2acff;
$custom-light: #ecc5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e2acff",
  "rgb": {
    "r": 226,
    "g": 172,
    "b": 255
  },
  "hsl": {
    "h": 279.036,
    "s": 100,
    "l": 83.725
  },
  "oklch": {
    "l": 0.82231,
    "c": 0.12669,
    "h": 313.4
  },
  "luminance": 0.52894
}

Semantic roles & 50–950 ramp

primary
#E2ACFF
secondary
#95E56A
accent
#E60050
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161318
muted
#858286

Preview Lab

Preview with #E2ACFF

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

Preview Lab → · Contrast checker → · Palette generator →

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