#ECAAFE#ECAAFE

#ECAAFE is a very light, vivid purple. Relative luminance 0.537; OKLCH L 82.8% C 0.134 H 318.9°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#ECAAFE
RGBrgb(236, 170, 254)
HSLhsl(287, 98%, 83%)
HSVhsv(287, 33%, 100%)
CMYKcmyk(7.1%, 33.1%, 0%, 0.4%)
CIE-LABlab(78.31, 38.16, -32.19)
CIE-LCHlch(78.31, 49.92, 319.85°)
OKLaboklab(82.82% 0.1008 -0.088)
OKLCHoklch(82.82% 0.134 318.9)
XYZxyz(66.8538, 53.7398, 100.5978)
Luminance0.5374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECAAFE #BCFEAA
analogous
#C2AAFE #ECAAFE #FEAAE6
triadic
#ECAAFE #FEECAA #AAFEEC
tetradic
#ECAAFE #FEC2AA #BCFEAA #AAE6FE
square
#ECAAFE #FEC2AA #BCFEAA #AAE6FE
split-complementary
#ECAAFE #E6FEAA #AAFEC2
monochromatic
#D131FD #DE6EFD #ECAAFE #F8E1FF #F8E1FF

Accessibility & contrast

On white

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

On black

11.75
#ECAAFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECAAFE
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECAAFE#FFFFFF#000000##000000
##ECAAFE1.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FBDFF
Deuteranopia (green-blind)
#AFC4FB
Tritanopia (blue-blind)
#EDB4C9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ecaafe;
/* rgb */ color: rgb(236, 170, 254);
/* oklch */ color: oklch(82.8% 0.134 318.9);
Tailwind
colors: {
  custom: {
    50: '#f3c4ff',
    500: '#ecaafe',
    950: '#000000',
  },
}
SCSS
$custom: #ecaafe;
$custom-light: #f3c4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ecaafe",
  "rgb": {
    "r": 236,
    "g": 170,
    "b": 254
  },
  "hsl": {
    "h": 287.143,
    "s": 97.674,
    "l": 83.137
  },
  "oklch": {
    "l": 0.82821,
    "c": 0.13382,
    "h": 318.9
  },
  "luminance": 0.53738
}

Semantic roles & 50–950 ramp

primary
#ECAAFE
secondary
#83E369
accent
#E60031
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171318
muted
#858286

Preview Lab

Preview with #ECAAFE

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

Preview Lab → · Contrast checker → · Palette generator →

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