#ECC2F7#ECC2F7

#ECC2F7 is a very light, moderate purple. Relative luminance 0.631; OKLCH L 86.7% C 0.085 H 319.2°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#ECC2F7
RGBrgb(236, 194, 247)
HSLhsl(288, 77%, 86%)
HSVhsv(288, 21%, 97%)
CMYKcmyk(4.5%, 21.5%, 0%, 3.1%)
CIE-LABlab(83.51, 24.04, -20.50)
CIE-LCHlch(83.51, 31.59, 319.54°)
OKLaboklab(86.72% 0.0641 -0.0554)
OKLCHoklch(86.72% 0.085 319.2)
XYZxyz(70.6700, 63.1331, 96.4407)
Luminance0.6313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC2F7 #CDF7C2
analogous
#D2C2F7 #ECC2F7 #F7C2E8
triadic
#ECC2F7 #F7ECC2 #C2F7EC
tetradic
#ECC2F7 #F7D2C2 #CDF7C2 #C2E8F7
square
#ECC2F7 #F7D2C2 #CDF7C2 #C2E8F7
split-complementary
#ECC2F7 #E8F7C2 #C2F7D2
monochromatic
#CA56E9 #DB8CF0 #ECC2F7 #F7E4FB #F7E4FB

Accessibility & contrast

On white

1.54
#ECC2F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.63
#ECC2F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC2F7
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC2F7#FFFFFF#000000##000000
##ECC2F71.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCCDF9
Deuteranopia (green-blind)
#C5D2F5
Tritanopia (blue-blind)
#EDC7D4
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ecc2f7;
/* rgb */ color: rgb(236, 194, 247);
/* oklch */ color: oklch(86.7% 0.085 319.2);
Tailwind
colors: {
  custom: {
    50: '#f2d4fa',
    500: '#ecc2f7',
    950: '#000000',
  },
}
SCSS
$custom: #ecc2f7;
$custom-light: #f2d4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc2f7",
  "rgb": {
    "r": 236,
    "g": 194,
    "b": 247
  },
  "hsl": {
    "h": 287.547,
    "s": 76.812,
    "l": 86.471
  },
  "oklch": {
    "l": 0.86718,
    "c": 0.0847,
    "h": 319.2
  },
  "luminance": 0.63132
}

Semantic roles & 50–950 ramp

primary
#ECC2F7
secondary
#95DA83
accent
#D90C37
background
#FFFEFF
surface
#FEFBFF
border
#D6D4D7
text
#171417
muted
#858385

Preview Lab

Preview with #ECC2F7

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

Preview Lab → · Contrast checker → · Palette generator →

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