#ECC8FA#ECC8FA

#ECC8FA is a very light, moderate purple. Relative luminance 0.660; OKLCH L 87.9% C 0.078 H 316.5°. Best body text is #000000 at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#ECC8FA
RGBrgb(236, 200, 250)
HSLhsl(283, 83%, 88%)
HSVhsv(283, 20%, 98%)
CMYKcmyk(5.6%, 20%, 0%, 2%)
CIE-LABlab(85.02, 21.42, -19.81)
CIE-LCHlch(85.02, 29.18, 317.22°)
OKLaboklab(87.91% 0.0563 -0.0535)
OKLCHoklch(87.91% 0.078 316.5)
XYZxyz(72.4990, 66.0445, 99.3526)
Luminance0.6604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC8FA #D6FAC8
analogous
#D3C8FA #ECC8FA #FAC8EF
triadic
#ECC8FA #FAECC8 #C8FAEC
tetradic
#ECC8FA #FAD3C8 #D6FAC8 #C8EFFA
square
#ECC8FA #FAD3C8 #D6FAC8 #C8EFFA
split-complementary
#ECC8FA #EFFAC8 #C8FAD3
monochromatic
#C558F0 #D990F5 #ECC8FA #F5E3FC #F5E3FC

Accessibility & contrast

On white

1.48
#ECC8FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.21
#ECC8FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC8FA
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC8FA#FFFFFF#000000##000000
##ECC8FA1.001.4814.2114.21
#FFFFFF1.481.0021.0021.00
#00000014.2121.001.001.00
##00000014.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2D2FC
Deuteranopia (green-blind)
#C9D5F8
Tritanopia (blue-blind)
#ECCDD9
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecc8fa;
/* rgb */ color: rgb(236, 200, 250);
/* oklch */ color: oklch(87.9% 0.078 316.5);
Tailwind
colors: {
  custom: {
    50: '#f2d8fc',
    500: '#ecc8fa',
    950: '#000000',
  },
}
SCSS
$custom: #ecc8fa;
$custom-light: #f2d8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc8fa",
  "rgb": {
    "r": 236,
    "g": 200,
    "b": 250
  },
  "hsl": {
    "h": 283.2,
    "s": 83.333,
    "l": 88.235
  },
  "oklch": {
    "l": 0.87912,
    "c": 0.07769,
    "h": 316.5
  },
  "luminance": 0.66044
}

Semantic roles & 50–950 ramp

primary
#ECC8FA
secondary
#A0DF87
accent
#E00643
background
#FFFEFF
surface
#FEFBFF
border
#D6D4D7
text
#171417
muted
#858385

Preview Lab

Preview with #ECC8FA

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

Preview Lab → · Contrast checker → · Palette generator →

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