#ECCAFB#ECCAFB

#ECCAFB is a very light, moderate purple. Relative luminance 0.670; OKLCH L 88.3% C 0.075 H 315.5°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#ECCAFB
RGBrgb(236, 202, 251)
HSLhsl(282, 86%, 89%)
HSVhsv(282, 20%, 98%)
CMYKcmyk(6%, 19.5%, 0%, 1.6%)
CIE-LABlab(85.52, 20.55, -19.58)
CIE-LCHlch(85.52, 28.38, 316.38°)
OKLaboklab(88.31% 0.0538 -0.0529)
OKLCHoklch(88.31% 0.075 315.5)
XYZxyz(73.1225, 67.0398, 100.3360)
Luminance0.6704 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCAFB #D9FBCA
analogous
#D4CAFB #ECCAFB #FBCAF2
triadic
#ECCAFB #FBECCA #CAFBEC
tetradic
#ECCAFB #FBD4CA #D9FBCA #CAF2FB
square
#ECCAFB #FBD4CA #D9FBCA #CAF2FB
split-complementary
#ECCAFB #F2FBCA #CAFBD4
monochromatic
#C358F2 #D891F7 #ECCAFB #F5E3FD #F5E3FD

Accessibility & contrast

On white

1.46
#ECCAFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.41
#ECCAFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCAFB
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCAFB#FFFFFF#000000##000000
##ECCAFB1.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4D4FD
Deuteranopia (green-blind)
#CBD7F9
Tritanopia (blue-blind)
#ECCFDB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #eccafb;
/* rgb */ color: rgb(236, 202, 251);
/* oklch */ color: oklch(88.3% 0.075 315.5);
Tailwind
colors: {
  custom: {
    50: '#f2dafc',
    500: '#eccafb',
    950: '#000000',
  },
}
SCSS
$custom: #eccafb;
$custom-light: #f2dafc;
$custom-dark: #000000;
JSON
{
  "hex": "#eccafb",
  "rgb": {
    "r": 236,
    "g": 202,
    "b": 251
  },
  "hsl": {
    "h": 281.633,
    "s": 85.965,
    "l": 88.824
  },
  "oklch": {
    "l": 0.88312,
    "c": 0.0754,
    "h": 315.5
  },
  "luminance": 0.67039
}

Semantic roles & 50–950 ramp

primary
#ECCAFB
secondary
#A3E188
accent
#E20347
background
#FFFEFF
surface
#FEFBFF
border
#D6D4D7
text
#171417
muted
#858385

Preview Lab

Preview with #ECCAFB

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

Preview Lab → · Contrast checker → · Palette generator →

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