#ECAEF8#ECAEF8

#ECAEF8 is a very light, vivid purple. Relative luminance 0.549; OKLCH L 83.3% C 0.121 H 320.9°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#ECAEF8
RGBrgb(236, 174, 248)
HSLhsl(290, 84%, 83%)
HSVhsv(290, 30%, 97%)
CMYKcmyk(4.8%, 29.8%, 0%, 2.7%)
CIE-LABlab(78.97, 34.88, -27.94)
CIE-LCHlch(78.97, 44.69, 321.30°)
OKLaboklab(83.25% 0.0935 -0.076)
OKLCHoklch(83.25% 0.121 320.9)
XYZxyz(66.6693, 54.8840, 95.8704)
Luminance0.5488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECAEF8 #BAF8AE
analogous
#C7AEF8 #ECAEF8 #F8AEDF
triadic
#ECAEF8 #F8ECAE #AEF8EC
tetradic
#ECAEF8 #F8C7AE #BAF8AE #AEDFF8
square
#ECAEF8 #F8C7AE #BAF8AE #AEDFF8
split-complementary
#ECAEF8 #DFF8AE #AEF8C7
monochromatic
#D23DEE #DF76F3 #ECAEF8 #F8E3FD #F8E3FD

Accessibility & contrast

On white

1.75
#ECAEF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.98
#ECAEF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECAEF8
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECAEF8#FFFFFF#000000##000000
##ECAEF81.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6BFFB
Deuteranopia (green-blind)
#B4C6F6
Tritanopia (blue-blind)
#EEB6C9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ecaef8;
/* rgb */ color: rgb(236, 174, 248);
/* oklch */ color: oklch(83.3% 0.121 320.9);
Tailwind
colors: {
  custom: {
    50: '#f3c7fa',
    500: '#ecaef8',
    950: '#000000',
  },
}
SCSS
$custom: #ecaef8;
$custom-light: #f3c7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ecaef8",
  "rgb": {
    "r": 236,
    "g": 174,
    "b": 248
  },
  "hsl": {
    "h": 290.27,
    "s": 84.091,
    "l": 82.745
  },
  "oklch": {
    "l": 0.83254,
    "c": 0.12052,
    "h": 320.9
  },
  "luminance": 0.54882
}

Semantic roles & 50–950 ramp

primary
#ECAEF8
secondary
#81DA70
accent
#E10529
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171317
muted
#858285

Preview Lab

Preview with #ECAEF8

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

Preview Lab → · Contrast checker → · Palette generator →

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