#ECC2F9#ECC2F9

#ECC2F9 is a very light, moderate purple. Relative luminance 0.633; OKLCH L 86.8% C 0.087 H 318.1°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#ECC2F9
RGBrgb(236, 194, 249)
HSLhsl(286, 82%, 87%)
HSVhsv(286, 22%, 98%)
CMYKcmyk(5.2%, 22.1%, 0%, 2.4%)
CIE-LABlab(83.58, 24.42, -21.47)
CIE-LCHlch(83.58, 32.51, 318.68°)
OKLaboklab(86.79% 0.0647 -0.058)
OKLCHoklch(86.79% 0.087 318.1)
XYZxyz(70.9803, 63.2572, 98.0748)
Luminance0.6326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC2F9 #CFF9C2
analogous
#D1C2F9 #ECC2F9 #F9C2EB
triadic
#ECC2F9 #F9ECC2 #C2F9EC
tetradic
#ECC2F9 #F9D1C2 #CFF9C2 #C2EBF9
square
#ECC2F9 #F9D1C2 #CFF9C2 #C2EBF9
split-complementary
#ECC2F9 #EBF9C2 #C2F9D1
monochromatic
#C953EE #DB8AF4 #ECC2F9 #F6E3FC #F6E3FC

Accessibility & contrast

On white

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

On black

13.65
#ECC2F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC2F9
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC2F9#FFFFFF#000000##000000
##ECC2F91.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCCEFB
Deuteranopia (green-blind)
#C5D2F7
Tritanopia (blue-blind)
#ECC8D5
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ecc2f9;
/* rgb */ color: rgb(236, 194, 249);
/* oklch */ color: oklch(86.8% 0.087 318.1);
Tailwind
colors: {
  custom: {
    50: '#f2d4fb',
    500: '#ecc2f9',
    950: '#000000',
  },
}
SCSS
$custom: #ecc2f9;
$custom-light: #f2d4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc2f9",
  "rgb": {
    "r": 236,
    "g": 194,
    "b": 249
  },
  "hsl": {
    "h": 285.818,
    "s": 82.09,
    "l": 86.863
  },
  "oklch": {
    "l": 0.8679,
    "c": 0.08693,
    "h": 318.1
  },
  "luminance": 0.63256
}

Semantic roles & 50–950 ramp

primary
#ECC2F9
secondary
#98DD82
accent
#DE073A
background
#FFFEFF
surface
#FEFBFF
border
#D6D4D7
text
#171417
muted
#858385

Preview Lab

Preview with #ECC2F9

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

Preview Lab → · Contrast checker → · Palette generator →

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