#ECACFB#ECACFB

#ECACFB is a very light, vivid purple. Relative luminance 0.543; OKLCH L 83.0% C 0.127 H 319.8°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#ECACFB
RGBrgb(236, 172, 251)
HSLhsl(289, 91%, 83%)
HSVhsv(289, 31%, 98%)
CMYKcmyk(6%, 31.5%, 0%, 1.6%)
CIE-LABlab(78.64, 36.52, -30.07)
CIE-LCHlch(78.64, 47.31, 320.53°)
OKLaboklab(83.03% 0.0972 -0.082)
OKLCHoklch(83.03% 0.127 319.8)
XYZxyz(66.7549, 54.3047, 98.2134)
Luminance0.5430 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECACFB #BBFBAC
analogous
#C4ACFB #ECACFB #FBACE2
triadic
#ECACFB #FBECAC #ACFBEC
tetradic
#ECACFB #FBC4AC #BBFBAC #ACE2FB
square
#ECACFB #FBC4AC #BBFBAC #ACE2FB
split-complementary
#ECACFB #E2FBAC #ACFBC4
monochromatic
#D137F5 #DF72F8 #ECACFB #F8E2FE #F8E2FE

Accessibility & contrast

On white

1.77
#ECACFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#ECACFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECACFB
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECACFB#FFFFFF#000000##000000
##ECACFB1.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3BEFE
Deuteranopia (green-blind)
#B2C5F8
Tritanopia (blue-blind)
#EDB5C9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ecacfb;
/* rgb */ color: rgb(236, 172, 251);
/* oklch */ color: oklch(83.0% 0.127 319.8);
Tailwind
colors: {
  custom: {
    50: '#f3c5fd',
    500: '#ecacfb',
    950: '#000000',
  },
}
SCSS
$custom: #ecacfb;
$custom-light: #f3c5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ecacfb",
  "rgb": {
    "r": 236,
    "g": 172,
    "b": 251
  },
  "hsl": {
    "h": 288.608,
    "s": 90.805,
    "l": 82.941
  },
  "oklch": {
    "l": 0.83034,
    "c": 0.12717,
    "h": 319.8
  },
  "luminance": 0.54303
}

Semantic roles & 50–950 ramp

primary
#ECACFB
secondary
#82DE6D
accent
#E6002C
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171317
muted
#858285

Preview Lab

Preview with #ECACFB

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

Preview Lab → · Contrast checker → · Palette generator →

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