#FEF2FD#FEF2FD

#FEF2FD is a very light, near-neutral purple. Relative luminance 0.917; OKLCH L 97.4% C 0.019 H 328.3°. Best body text is #000000 at 19.33:1 contrast (WCAG AA passes).

Color values

HEX#FEF2FD
RGBrgb(254, 242, 253)
HSLhsl(305, 86%, 97%)
HSVhsv(305, 5%, 100%)
CMYKcmyk(0%, 4.7%, 0.4%, 0.4%)
CIE-LABlab(96.68, 5.92, -3.84)
CIE-LCHlch(96.68, 7.06, 327.04°)
OKLaboklab(97.36% 0.0164 -0.0101)
OKLCHoklch(97.36% 0.019 328.3)
XYZxyz(90.3521, 91.6675, 105.8432)
Luminance0.9167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF2FD #F2FEF3
analogous
#F9F2FE #FEF2FD #FEF2F7
triadic
#FEF2FD #FDFEF2 #F2FDFE
tetradic
#FEF2FD #FEF9F2 #F2FEF3 #F2F7FE
square
#FEF2FD #FEF9F2 #F2FEF3 #F2F7FE
split-complementary
#FEF2FD #F7FEF2 #F2FEF9
monochromatic
#F580EC #FAB9F4 #FDE3FB #FDE3FB #FDE3FB

Accessibility & contrast

On white

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

On black

19.33
#FEF2FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF2FD
19.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF2FD#FFFFFF#000000##000000
##FEF2FD1.001.0919.3319.33
#FFFFFF1.091.0021.0021.00
#00000019.3321.001.001.00
##00000019.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2F5FE
Deuteranopia (green-blind)
#F4F6FD
Tritanopia (blue-blind)
#FFF3F5
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fef2fd;
/* rgb */ color: rgb(254, 242, 253);
/* oklch */ color: oklch(97.4% 0.019 328.3);
Tailwind
colors: {
  custom: {
    50: '#fef6fe',
    500: '#fef2fd',
    950: '#000000',
  },
}
SCSS
$custom: #fef2fd;
$custom-light: #fef6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#fef2fd",
  "rgb": {
    "r": 254,
    "g": 242,
    "b": 253
  },
  "hsl": {
    "h": 305,
    "s": 85.714,
    "l": 97.255
  },
  "oklch": {
    "l": 0.97364,
    "c": 0.01928,
    "h": 328.3
  },
  "luminance": 0.91667
}

Semantic roles & 50–950 ramp

primary
#FEF2FD
secondary
#AAEAB0
accent
#E21603
background
#FFFFFF
surface
#FFFEFF
border
#D7D6D7
text
#171717
muted
#858585

Preview Lab

Preview with #FEF2FD

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

Preview Lab → · Contrast checker → · Palette generator →

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