#ECC7FB#ECC7FB

#ECC7FB is a very light, moderate purple. Relative luminance 0.656; OKLCH L 87.8% C 0.081 H 316.1°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#ECC7FB
RGBrgb(236, 199, 251)
HSLhsl(283, 87%, 88%)
HSVhsv(283, 21%, 98%)
CMYKcmyk(6%, 20.7%, 0%, 1.6%)
CIE-LABlab(84.82, 22.14, -20.65)
CIE-LCHlch(84.82, 30.28, 316.99°)
OKLaboklab(87.77% 0.0581 -0.0558)
OKLCHoklch(87.77% 0.081 316.1)
XYZxyz(72.4254, 65.6457, 100.1036)
Luminance0.6564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC7FB #D6FBC7
analogous
#D2C7FB #ECC7FB #FBC7F0
triadic
#ECC7FB #FBECC7 #C7FBEC
tetradic
#ECC7FB #FBD2C7 #D6FBC7 #C7F0FB
square
#ECC7FB #FBD2C7 #D6FBC7 #C7F0FB
split-complementary
#ECC7FB #F0FBC7 #C7FBD2
monochromatic
#C555F3 #D98EF7 #ECC7FB #F5E2FD #F5E2FD

Accessibility & contrast

On white

1.49
#ECC7FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.13
#ECC7FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC7FB
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC7FB#FFFFFF#000000##000000
##ECC7FB1.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecc7fb;
/* rgb */ color: rgb(236, 199, 251);
/* oklch */ color: oklch(87.8% 0.081 316.1);
Tailwind
colors: {
  custom: {
    50: '#f2d8fc',
    500: '#ecc7fb',
    950: '#000000',
  },
}
SCSS
$custom: #ecc7fb;
$custom-light: #f2d8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc7fb",
  "rgb": {
    "r": 236,
    "g": 199,
    "b": 251
  },
  "hsl": {
    "h": 282.692,
    "s": 86.667,
    "l": 88.235
  },
  "oklch": {
    "l": 0.87765,
    "c": 0.08056,
    "h": 316.1
  },
  "luminance": 0.65645
}

Semantic roles & 50–950 ramp

primary
#ECC7FB
secondary
#A0E185
accent
#E30243
background
#FFFEFF
surface
#FEFBFF
border
#D6D4D7
text
#171417
muted
#858385

Preview Lab

Preview with #ECC7FB

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

Preview Lab → · Contrast checker → · Palette generator →

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