#ECAAFB#ECAAFB

#ECAAFB is a very light, vivid purple. Relative luminance 0.535; OKLCH L 82.7% C 0.131 H 320.0°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#ECAAFB
RGBrgb(236, 170, 251)
HSLhsl(289, 91%, 83%)
HSVhsv(289, 32%, 98%)
CMYKcmyk(6%, 32.3%, 0%, 1.6%)
CIE-LABlab(78.20, 37.58, -30.75)
CIE-LCHlch(78.20, 48.56, 320.71°)
OKLaboklab(82.7% 0.1001 -0.0839)
OKLCHoklch(82.7% 0.131 320)
XYZxyz(66.3771, 53.5491, 98.0875)
Luminance0.5355 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECAAFB #B9FBAA
analogous
#C4AAFB #ECAAFB #FBAAE1
triadic
#ECAAFB #FBECAA #AAFBEC
tetradic
#ECAAFB #FBC4AA #B9FBAA #AAE1FB
square
#ECAAFB #FBC4AA #B9FBAA #AAE1FB
split-complementary
#ECAAFB #E1FBAA #AAFBC4
monochromatic
#D235F5 #DF70F8 #ECAAFB #F8E2FE #F8E2FE

Accessibility & contrast

On white

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

On black

11.71
#ECAAFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECAAFB
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECAAFB#FFFFFF#000000##000000
##ECAAFB1.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0BDFE
Deuteranopia (green-blind)
#B0C4F8
Tritanopia (blue-blind)
#EDB3C8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ecaafb;
/* rgb */ color: rgb(236, 170, 251);
/* oklch */ color: oklch(82.7% 0.131 320.0);
Tailwind
colors: {
  custom: {
    50: '#f3c4fd',
    500: '#ecaafb',
    950: '#000000',
  },
}
SCSS
$custom: #ecaafb;
$custom-light: #f3c4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ecaafb",
  "rgb": {
    "r": 236,
    "g": 170,
    "b": 251
  },
  "hsl": {
    "h": 288.889,
    "s": 91.011,
    "l": 82.549
  },
  "oklch": {
    "l": 0.82699,
    "c": 0.1306,
    "h": 320
  },
  "luminance": 0.53547
}

Semantic roles & 50–950 ramp

primary
#ECAAFB
secondary
#80DE6B
accent
#E6002A
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171317
muted
#858285

Preview Lab

Preview with #ECAAFB

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

Preview Lab → · Contrast checker → · Palette generator →

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