#F8ECFC#F8ECFC

#F8ECFC is a very light, muted purple. Relative luminance 0.870; OKLCH L 95.7% C 0.025 H 317.7°. Best body text is #000000 at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#F8ECFC
RGBrgb(248, 236, 252)
HSLhsl(285, 73%, 96%)
HSVhsv(285, 6%, 99%)
CMYKcmyk(1.6%, 6.3%, 0%, 1.2%)
CIE-LABlab(94.73, 6.84, -6.26)
CIE-LCHlch(94.73, 9.27, 317.57°)
OKLaboklab(95.71% 0.0183 -0.0166)
OKLCHoklch(95.71% 0.025 317.7)
XYZxyz(86.2747, 86.9760, 104.3196)
Luminance0.8698 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8ECFC #F0FCEC
analogous
#F0ECFC #F8ECFC #FCECF8
triadic
#F8ECFC #FCF8EC #ECFCF8
tetradic
#F8ECFC #FCF0EC #F0FCEC #ECF8FC
square
#F8ECFC #FCF0EC #F0FCEC #ECF8FC
split-complementary
#F8ECFC #F8FCEC #ECFCF0
monochromatic
#D182EB #E5B7F4 #F5E5FB #F5E5FB #F5E5FB

Accessibility & contrast

On white

1.14
#F8ECFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.40
#F8ECFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8ECFC
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8ECFC#FFFFFF#000000##000000
##F8ECFC1.001.1418.4018.40
#FFFFFF1.141.0021.0021.00
#00000018.4021.001.001.00
##00000018.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAEFFD
Deuteranopia (green-blind)
#EDF0FB
Tritanopia (blue-blind)
#F8EDF1
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f8ecfc;
/* rgb */ color: rgb(248, 236, 252);
/* oklch */ color: oklch(95.7% 0.025 317.7);
Tailwind
colors: {
  custom: {
    50: '#faf2fd',
    500: '#f8ecfc',
    950: '#000000',
  },
}
SCSS
$custom: #f8ecfc;
$custom-light: #faf2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ecfc",
  "rgb": {
    "r": 248,
    "g": 236,
    "b": 252
  },
  "hsl": {
    "h": 285,
    "s": 72.727,
    "l": 95.686
  },
  "oklch": {
    "l": 0.95712,
    "c": 0.02471,
    "h": 317.7
  },
  "luminance": 0.86976
}

Semantic roles & 50–950 ramp

primary
#F8ECFC
secondary
#B8E3A9
accent
#D51142
background
#FFFFFF
surface
#FFFEFF
border
#D7D6D7
text
#171617
muted
#858585

Preview Lab

Preview with #F8ECFC

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

Preview Lab → · Contrast checker → · Palette generator →

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