#FEF2FE#FEF2FE

#FEF2FE is a very light, muted purple. Relative luminance 0.917; OKLCH L 97.4% C 0.020 H 325.7°. Best body text is #000000 at 19.35:1 contrast (WCAG AA passes).

Color values

HEX#FEF2FE
RGBrgb(254, 242, 254)
HSLhsl(300, 86%, 97%)
HSVhsv(300, 5%, 100%)
CMYKcmyk(0%, 4.7%, 0%, 0.4%)
CIE-LABlab(96.71, 6.10, -4.32)
CIE-LCHlch(96.71, 7.47, 324.70°)
OKLaboklab(97.39% 0.0168 -0.0114)
OKLCHoklch(97.39% 0.02 325.7)
XYZxyz(90.5118, 91.7314, 106.6844)
Luminance0.9173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF2FE #F2FEF2
analogous
#F8F2FE #FEF2FE #FEF2F8
triadic
#FEF2FE #FEFEF2 #F2FEFE
tetradic
#FEF2FE #FEF8F2 #F2FEF2 #F2F8FE
square
#FEF2FE #FEF8F2 #F2FEF2 #F2F8FE
split-complementary
#FEF2FE #F8FEF2 #F2FEF8
monochromatic
#F580F5 #FAB9FA #FDE3FD #FDE3FD #FDE3FD

Accessibility & contrast

On white

1.09
#FEF2FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.35
#FEF2FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF2FE
19.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF2FE#FFFFFF#000000##000000
##FEF2FE1.001.0919.3519.35
#FFFFFF1.091.0021.0021.00
#00000019.3521.001.001.00
##00000019.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1F5FF
Deuteranopia (green-blind)
#F4F6FE
Tritanopia (blue-blind)
#FFF3F6
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fef2fe;
/* rgb */ color: rgb(254, 242, 254);
/* oklch */ color: oklch(97.4% 0.020 325.7);
Tailwind
colors: {
  custom: {
    50: '#fef6fe',
    500: '#fef2fe',
    950: '#000000',
  },
}
SCSS
$custom: #fef2fe;
$custom-light: #fef6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#fef2fe",
  "rgb": {
    "r": 254,
    "g": 242,
    "b": 254
  },
  "hsl": {
    "h": 300,
    "s": 85.714,
    "l": 97.255
  },
  "oklch": {
    "l": 0.97393,
    "c": 0.02028,
    "h": 325.7
  },
  "luminance": 0.91731
}

Semantic roles & 50–950 ramp

primary
#FEF2FE
secondary
#AAEAAA
accent
#E20303
background
#FFFFFF
surface
#FFFEFF
border
#D7D6D7
text
#171717
muted
#858585

Preview Lab

Preview with #FEF2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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