#ECAFFA#ECAFFA

#ECAFFA is a very light, vivid purple. Relative luminance 0.554; OKLCH L 83.5% C 0.121 H 320.0°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#ECAFFA
RGBrgb(236, 175, 250)
HSLhsl(289, 88%, 83%)
HSVhsv(289, 30%, 98%)
CMYKcmyk(5.6%, 30%, 0%, 2%)
CIE-LABlab(79.27, 34.73, -28.57)
CIE-LCHlch(79.27, 44.97, 320.56°)
OKLaboklab(83.5% 0.0926 -0.0778)
OKLCHoklch(83.5% 0.121 320)
XYZxyz(67.1751, 55.3966, 97.5779)
Luminance0.5540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECAFFA #BDFAAF
analogous
#C6AFFA #ECAFFA #FAAFE2
triadic
#ECAFFA #FAECAF #AFFAEC
tetradic
#ECAFFA #FAC6AF #BDFAAF #AFE2FA
square
#ECAFFA #FAC6AF #BDFAAF #AFE2FA
split-complementary
#ECAFFA #E2FAAF #AFFAC6
monochromatic
#D13CF3 #DE75F6 #ECAFFA #F8E2FD #F8E2FD

Accessibility & contrast

On white

1.74
#ECAFFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#ECAFFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECAFFA
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECAFFA#FFFFFF#000000##000000
##ECAFFA1.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6C0FD
Deuteranopia (green-blind)
#B4C7F8
Tritanopia (blue-blind)
#EDB7CA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ecaffa;
/* rgb */ color: rgb(236, 175, 250);
/* oklch */ color: oklch(83.5% 0.121 320.0);
Tailwind
colors: {
  custom: {
    50: '#f3c7fc',
    500: '#ecaffa',
    950: '#000000',
  },
}
SCSS
$custom: #ecaffa;
$custom-light: #f3c7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ecaffa",
  "rgb": {
    "r": 236,
    "g": 175,
    "b": 250
  },
  "hsl": {
    "h": 288.8,
    "s": 88.235,
    "l": 83.333
  },
  "oklch": {
    "l": 0.83502,
    "c": 0.12092,
    "h": 320
  },
  "luminance": 0.55395
}

Semantic roles & 50–950 ramp

primary
#ECAFFA
secondary
#84DD70
accent
#E5012B
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171317
muted
#858285

Preview Lab

Preview with #ECAFFA

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

Preview Lab → · Contrast checker → · Palette generator →

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