#ECC2FB#ECC2FB

#ECC2FB is a very light, moderate purple. Relative luminance 0.634; OKLCH L 86.9% C 0.089 H 317.1°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#ECC2FB
RGBrgb(236, 194, 251)
HSLhsl(284, 88%, 87%)
HSVhsv(284, 23%, 98%)
CMYKcmyk(6%, 22.7%, 0%, 1.6%)
CIE-LABlab(83.64, 24.80, -22.43)
CIE-LCHlch(83.64, 33.44, 317.87°)
OKLaboklab(86.86% 0.0653 -0.0607)
OKLCHoklch(86.86% 0.089 317.1)
XYZxyz(71.2939, 63.3826, 99.7264)
Luminance0.6338 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC2FB #D1FBC2
analogous
#D0C2FB #ECC2FB #FBC2ED
triadic
#ECC2FB #FBECC2 #C2FBEC
tetradic
#ECC2FB #FBD0C2 #D1FBC2 #C2EDFB
square
#ECC2FB #FBD0C2 #D1FBC2 #C2EDFB
split-complementary
#ECC2FB #EDFBC2 #C2FBD0
monochromatic
#C84FF3 #DA89F7 #ECC2FB #F6E2FD #F6E2FD

Accessibility & contrast

On white

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

On black

13.68
#ECC2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC2FB
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC2FB#FFFFFF#000000##000000
##ECC2FB1.001.5413.6813.68
#FFFFFF1.541.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBCEFD
Deuteranopia (green-blind)
#C4D2F9
Tritanopia (blue-blind)
#ECC8D6
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ecc2fb;
/* rgb */ color: rgb(236, 194, 251);
/* oklch */ color: oklch(86.9% 0.089 317.1);
Tailwind
colors: {
  custom: {
    50: '#f2d4fc',
    500: '#ecc2fb',
    950: '#000000',
  },
}
SCSS
$custom: #ecc2fb;
$custom-light: #f2d4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc2fb",
  "rgb": {
    "r": 236,
    "g": 194,
    "b": 251
  },
  "hsl": {
    "h": 284.211,
    "s": 87.692,
    "l": 87.255
  },
  "oklch": {
    "l": 0.86862,
    "c": 0.08919,
    "h": 317.1
  },
  "luminance": 0.63381
}

Semantic roles & 50–950 ramp

primary
#ECC2FB
secondary
#9AE180
accent
#E4013D
background
#FFFEFF
surface
#FEFBFF
border
#D6D4D7
text
#171417
muted
#858385

Preview Lab

Preview with #ECC2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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