#ECABFC#ECABFC

#ECABFC is a very light, vivid purple. Relative luminance 0.540; OKLCH L 82.9% C 0.130 H 319.6°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#ECABFC
RGBrgb(236, 171, 252)
HSLhsl(288, 93%, 83%)
HSVhsv(288, 32%, 99%)
CMYKcmyk(6.3%, 32.1%, 0%, 1.2%)
CIE-LABlab(78.46, 37.24, -30.89)
CIE-LCHlch(78.46, 48.39, 320.32°)
OKLaboklab(82.91% 0.0989 -0.0843)
OKLCHoklch(82.91% 0.13 319.6)
XYZxyz(66.7233, 53.9887, 98.9826)
Luminance0.5399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECABFC #BBFCAB
analogous
#C3ABFC #ECABFC #FCABE3
triadic
#ECABFC #FCECAB #ABFCEC
tetradic
#ECABFC #FCC3AB #BBFCAB #ABE3FC
square
#ECABFC #FCC3AB #BBFCAB #ABE3FC
split-complementary
#ECABFC #E3FCAB #ABFCC3
monochromatic
#D135F8 #DF70FA #ECABFC #F8E1FE #F8E1FE

Accessibility & contrast

On white

1.78
#ECABFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#ECABFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECABFC
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECABFC#FFFFFF#000000##000000
##ECABFC1.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1BEFF
Deuteranopia (green-blind)
#B0C4F9
Tritanopia (blue-blind)
#EDB4C9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ecabfc;
/* rgb */ color: rgb(236, 171, 252);
/* oklch */ color: oklch(82.9% 0.130 319.6);
Tailwind
colors: {
  custom: {
    50: '#f3c5fd',
    500: '#ecabfc',
    950: '#000000',
  },
}
SCSS
$custom: #ecabfc;
$custom-light: #f3c5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ecabfc",
  "rgb": {
    "r": 236,
    "g": 171,
    "b": 252
  },
  "hsl": {
    "h": 288.148,
    "s": 93.103,
    "l": 82.941
  },
  "oklch": {
    "l": 0.82907,
    "c": 0.12995,
    "h": 319.6
  },
  "luminance": 0.53987
}

Semantic roles & 50–950 ramp

primary
#ECABFC
secondary
#82E06B
accent
#E6002D
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171317
muted
#858285

Preview Lab

Preview with #ECABFC

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

Preview Lab → · Contrast checker → · Palette generator →

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