#FEF7FD#FEF7FD

#FEF7FD is a very light, near-neutral purple. Relative luminance 0.947; OKLCH L 98.3% C 0.011 H 330.2°. Best body text is #000000 at 19.94:1 contrast (WCAG AA passes).

Color values

HEX#FEF7FD
RGBrgb(254, 247, 253)
HSLhsl(309, 78%, 98%)
HSVhsv(309, 3%, 100%)
CMYKcmyk(0%, 2.8%, 0.4%, 0.4%)
CIE-LABlab(97.91, 3.37, -2.04)
CIE-LCHlch(97.91, 3.94, 328.78°)
OKLaboklab(98.32% 0.0094 -0.0054)
OKLCHoklch(98.32% 0.011 330.2)
XYZxyz(91.8607, 94.6845, 106.3460)
Luminance0.9468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF7FD #F7FEF8
analogous
#FBF7FE #FEF7FD #FEF7F9
triadic
#FEF7FD #FDFEF7 #F7FDFE
tetradic
#FEF7FD #FEFBF7 #F7FEF8 #F7F9FE
square
#FEF7FD #FEFBF7 #F7FEF8 #F7F9FE
split-complementary
#FEF7FD #F9FEF7 #F7FEFB
monochromatic
#F08AE2 #F7C1EF #FCE4F8 #FCE4F8 #FCE4F8

Accessibility & contrast

On white

1.05
#FEF7FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.94
#FEF7FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF7FD
19.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF7FD#FFFFFF#000000##000000
##FEF7FD1.001.0519.9419.94
#FFFFFF1.051.0021.0021.00
#00000019.9421.001.001.00
##00000019.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7F8FD
Deuteranopia (green-blind)
#F8F9FD
Tritanopia (blue-blind)
#FFF7F9
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #fef7fd;
/* rgb */ color: rgb(254, 247, 253);
/* oklch */ color: oklch(98.3% 0.011 330.2);
Tailwind
colors: {
  custom: {
    50: '#fef9fe',
    500: '#fef7fd',
    950: '#000000',
  },
}
SCSS
$custom: #fef7fd;
$custom-light: #fef9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#fef7fd",
  "rgb": {
    "r": 254,
    "g": 247,
    "b": 253
  },
  "hsl": {
    "h": 308.571,
    "s": 77.778,
    "l": 98.235
  },
  "oklch": {
    "l": 0.98322,
    "c": 0.01081,
    "h": 330.2
  },
  "luminance": 0.94684
}

Semantic roles & 50–950 ramp

primary
#FEF7FD
secondary
#B1E8B9
accent
#DA290B
background
#FFFFFF
surface
#FFFFFF
border
#D7D7D7
text
#171717
muted
#858585

Preview Lab

Preview with #FEF7FD

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

Preview Lab → · Contrast checker → · Palette generator →

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