#FEF5FF#FEF5FF

#FEF5FF is a very light, near-neutral purple. Relative luminance 0.936; OKLCH L 98.0% C 0.016 H 322.7°. Best body text is #000000 at 19.72:1 contrast (WCAG AA passes).

Color values

HEX#FEF5FF
RGBrgb(254, 245, 255)
HSLhsl(294, 100%, 98%)
HSVhsv(294, 4%, 100%)
CMYKcmyk(0.4%, 3.9%, 0%, 0%)
CIE-LABlab(97.47, 4.74, -3.72)
CIE-LCHlch(97.47, 6.02, 321.91°)
OKLaboklab(98% 0.0129 -0.0098)
OKLCHoklch(98% 0.016 322.7)
XYZxyz(91.5726, 93.5960, 107.8300)
Luminance0.9360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF5FF #F6FFF5
analogous
#F9F5FF #FEF5FF #FFF5FB
triadic
#FEF5FF #FFFEF5 #F5FFFE
tetradic
#FEF5FF #FFF9F5 #F6FFF5 #F5FBFF
square
#FEF5FF #FFF9F5 #F6FFF5 #F5FBFF
split-complementary
#FEF5FF #FBFFF5 #F5FFF9
monochromatic
#F27BFF #F8B8FF #FCE0FF #FCE0FF #FCE0FF

Accessibility & contrast

On white

1.06
#FEF5FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.72
#FEF5FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF5FF
19.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF5FF#FFFFFF#000000##000000
##FEF5FF1.001.0619.7219.72
#FFFFFF1.061.0021.0021.00
#00000019.7221.001.001.00
##00000019.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4F7FF
Deuteranopia (green-blind)
#F6F8FF
Tritanopia (blue-blind)
#FEF6F8
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fef5ff;
/* rgb */ color: rgb(254, 245, 255);
/* oklch */ color: oklch(98.0% 0.016 322.7);
Tailwind
colors: {
  custom: {
    50: '#fef8ff',
    500: '#fef5ff',
    950: '#000000',
  },
}
SCSS
$custom: #fef5ff;
$custom-light: #fef8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#fef5ff",
  "rgb": {
    "r": 254,
    "g": 245,
    "b": 255
  },
  "hsl": {
    "h": 294,
    "s": 100,
    "l": 98.039
  },
  "oklch": {
    "l": 0.97996,
    "c": 0.01623,
    "h": 322.7
  },
  "luminance": 0.93596
}

Semantic roles & 50–950 ramp

primary
#FEF5FF
secondary
#B0F0A8
accent
#E60017
background
#FFFFFF
surface
#FFFFFF
border
#D7D7D7
text
#171718
muted
#858586

Preview Lab

Preview with #FEF5FF

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

Preview Lab → · Contrast checker → · Palette generator →

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