#ECAEF2#ECAEF2

#ECAEF2 is a very light, moderate purple. Relative luminance 0.545; OKLCH L 83.0% C 0.114 H 323.6°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#ECAEF2
RGBrgb(236, 174, 242)
HSLhsl(295, 72%, 82%)
HSVhsv(295, 28%, 95%)
CMYKcmyk(2.5%, 28.1%, 0%, 5.1%)
CIE-LABlab(78.76, 33.75, -25.04)
CIE-LCHlch(78.76, 42.02, 323.43°)
OKLaboklab(83.02% 0.0919 -0.0679)
OKLCHoklch(83.02% 0.114 323.6)
XYZxyz(65.7533, 54.5176, 91.0464)
Luminance0.5452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECAEF2 #B4F2AE
analogous
#CAAEF2 #ECAEF2 #F2AED6
triadic
#ECAEF2 #F2ECAE #AEF2EC
tetradic
#ECAEF2 #F2CAAE #B4F2AE #AED6F2
square
#ECAEF2 #F2CAAE #B4F2AE #AED6F2
split-complementary
#ECAEF2 #D6F2AE #AEF2CA
monochromatic
#D345E1 #E079EA #ECAEF2 #F8E3FA #F9E5FB

Accessibility & contrast

On white

1.76
#ECAEF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#ECAEF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECAEF2
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECAEF2#FFFFFF#000000##000000
##ECAEF21.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8BEF5
Deuteranopia (green-blind)
#B6C6F0
Tritanopia (blue-blind)
#EFB5C6
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ecaef2;
/* rgb */ color: rgb(236, 174, 242);
/* oklch */ color: oklch(83.0% 0.114 323.6);
Tailwind
colors: {
  custom: {
    50: '#f3c7f6',
    500: '#ecaef2',
    950: '#000000',
  },
}
SCSS
$custom: #ecaef2;
$custom-light: #f3c7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecaef2",
  "rgb": {
    "r": 236,
    "g": 174,
    "b": 242
  },
  "hsl": {
    "h": 294.706,
    "s": 72.34,
    "l": 81.569
  },
  "oklch": {
    "l": 0.83022,
    "c": 0.11423,
    "h": 323.6
  },
  "luminance": 0.54516
}

Semantic roles & 50–950 ramp

primary
#ECAEF2
secondary
#7BD173
accent
#D41122
background
#FFFDFF
surface
#FEF9FE
border
#D6D2D6
text
#171317
muted
#858285

Preview Lab

Preview with #ECAEF2

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

Preview Lab → · Contrast checker → · Palette generator →

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