#FEF7FF#FEF7FF

#FEF7FF is a very light, near-neutral purple. Relative luminance 0.948; OKLCH L 98.4% C 0.013 H 321.9°. Best body text is #000000 at 19.96:1 contrast (WCAG AA passes).

Color values

HEX#FEF7FF
RGBrgb(254, 247, 255)
HSLhsl(293, 100%, 98%)
HSVhsv(293, 3%, 100%)
CMYKcmyk(0.4%, 3.1%, 0%, 0%)
CIE-LABlab(97.96, 3.72, -3.00)
CIE-LCHlch(97.96, 4.78, 321.15°)
OKLaboklab(98.38% 0.0101 -0.0079)
OKLCHoklch(98.38% 0.013 321.9)
XYZxyz(92.1809, 94.8126, 108.0328)
Luminance0.9481 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF7FF #F8FFF7
analogous
#FAF7FF #FEF7FF #FFF7FC
triadic
#FEF7FF #FFFEF7 #F7FFFE
tetradic
#FEF7FF #FFFAF7 #F8FFF7 #F7FCFF
square
#FEF7FF #FFFAF7 #F8FFF7 #F7FCFF
split-complementary
#FEF7FF #FCFFF7 #F7FFFA
monochromatic
#EF7DFF #F6BAFF #FBE0FF #FBE0FF #FBE0FF

Accessibility & contrast

On white

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

On black

19.96
#FEF7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF7FF
19.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF7FF#FFFFFF#000000##000000
##FEF7FF1.001.0519.9619.96
#FFFFFF1.051.0021.0021.00
#00000019.9621.001.001.00
##00000019.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6F9FF
Deuteranopia (green-blind)
#F8F9FF
Tritanopia (blue-blind)
#FEF8FA
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #fef7ff;
/* rgb */ color: rgb(254, 247, 255);
/* oklch */ color: oklch(98.4% 0.013 321.9);
Tailwind
colors: {
  custom: {
    50: '#fef9ff',
    500: '#fef7ff',
    950: '#000000',
  },
}
SCSS
$custom: #fef7ff;
$custom-light: #fef9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#fef7ff",
  "rgb": {
    "r": 254,
    "g": 247,
    "b": 255
  },
  "hsl": {
    "h": 292.5,
    "s": 100,
    "l": 98.431
  },
  "oklch": {
    "l": 0.98379,
    "c": 0.01285,
    "h": 321.9
  },
  "luminance": 0.94812
}

Semantic roles & 50–950 ramp

primary
#FEF7FF
secondary
#B3F0AA
accent
#E6001D
background
#FFFFFF
surface
#FFFFFF
border
#D7D7D7
text
#171718
muted
#858586

Preview Lab

Preview with #FEF7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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