#ECABFA#ECABFA

#ECABFA is a very light, vivid purple. Relative luminance 0.539; OKLCH L 82.8% C 0.128 H 320.3°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#ECABFA
RGBrgb(236, 171, 250)
HSLhsl(289, 89%, 83%)
HSVhsv(289, 32%, 98%)
CMYKcmyk(5.6%, 31.6%, 0%, 2%)
CIE-LABlab(78.38, 36.86, -29.93)
CIE-LCHlch(78.38, 47.48, 320.92°)
OKLaboklab(82.83% 0.0984 -0.0816)
OKLCHoklch(82.83% 0.128 320.3)
XYZxyz(66.4081, 53.8626, 97.3222)
Luminance0.5386 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECABFA #B9FAAB
analogous
#C4ABFA #ECABFA #FAABE1
triadic
#ECABFA #FAECAB #ABFAEC
tetradic
#ECABFA #FAC4AB #B9FAAB #ABE1FA
square
#ECABFA #FAC4AB #B9FAAB #ABE1FA
split-complementary
#ECABFA #E1FAAB #ABFAC4
monochromatic
#D237F3 #DF71F7 #ECABFA #F8E2FD #F8E2FD

Accessibility & contrast

On white

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

On black

11.77
#ECABFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECABFA
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECABFA#FFFFFF#000000##000000
##ECABFA1.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2BDFD
Deuteranopia (green-blind)
#B1C4F7
Tritanopia (blue-blind)
#EEB4C8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ecabfa;
/* rgb */ color: rgb(236, 171, 250);
/* oklch */ color: oklch(82.8% 0.128 320.3);
Tailwind
colors: {
  custom: {
    50: '#f3c5fc',
    500: '#ecabfa',
    950: '#000000',
  },
}
SCSS
$custom: #ecabfa;
$custom-light: #f3c5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ecabfa",
  "rgb": {
    "r": 236,
    "g": 171,
    "b": 250
  },
  "hsl": {
    "h": 289.367,
    "s": 88.764,
    "l": 82.549
  },
  "oklch": {
    "l": 0.82826,
    "c": 0.12782,
    "h": 320.3
  },
  "luminance": 0.53861
}

Semantic roles & 50–950 ramp

primary
#ECABFA
secondary
#80DD6C
accent
#E50029
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171317
muted
#858285

Preview Lab

Preview with #ECABFA

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

Preview Lab → · Contrast checker → · Palette generator →

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