#ECABF5#ECABF5

#ECABF5 is a very light, vivid purple. Relative luminance 0.536; OKLCH L 82.6% C 0.123 H 322.4°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#ECABF5
RGBrgb(236, 171, 245)
HSLhsl(293, 79%, 82%)
HSVhsv(293, 30%, 96%)
CMYKcmyk(3.7%, 30.2%, 0%, 3.9%)
CIE-LABlab(78.20, 35.91, -27.51)
CIE-LCHlch(78.20, 45.24, 322.54°)
OKLaboklab(82.63% 0.0971 -0.0748)
OKLCHoklch(82.63% 0.123 322.4)
XYZxyz(65.6345, 53.5531, 93.2478)
Luminance0.5355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECABF5 #B4F5AB
analogous
#C7ABF5 #ECABF5 #F5ABD9
triadic
#ECABF5 #F5ECAB #ABF5EC
tetradic
#ECABF5 #F5C7AB #B4F5AB #ABD9F5
square
#ECABF5 #F5C7AB #B4F5AB #ABD9F5
split-complementary
#ECABF5 #D9F5AB #ABF5C7
monochromatic
#D33EE8 #E074EE #ECABF5 #F8E2FC #F9E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECABF5#FFFFFF#000000##000000
##ECABF51.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)
#A4BDF8
Deuteranopia (green-blind)
#B3C4F3
Tritanopia (blue-blind)
#EEB3C6
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ecabf5;
/* rgb */ color: rgb(236, 171, 245);
/* oklch */ color: oklch(82.6% 0.123 322.4);
Tailwind
colors: {
  custom: {
    50: '#f3c4f8',
    500: '#ecabf5',
    950: '#000000',
  },
}
SCSS
$custom: #ecabf5;
$custom-light: #f3c4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ecabf5",
  "rgb": {
    "r": 236,
    "g": 171,
    "b": 245
  },
  "hsl": {
    "h": 292.703,
    "s": 78.723,
    "l": 81.569
  },
  "oklch": {
    "l": 0.82629,
    "c": 0.12256,
    "h": 322.4
  },
  "luminance": 0.53551
}

Semantic roles & 50–950 ramp

primary
#ECABF5
secondary
#7BD56F
accent
#DB0A24
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171317
muted
#858285

Preview Lab

Preview with #ECABF5

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

Preview Lab → · Contrast checker → · Palette generator →

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