#F8F2FE#F8F2FE

#F8F2FE is a very light, near-neutral violet. Relative luminance 0.906; OKLCH L 96.9% C 0.017 H 308.2°. Best body text is #000000 at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#F8F2FE
RGBrgb(248, 242, 254)
HSLhsl(270, 86%, 97%)
HSVhsv(270, 5%, 100%)
CMYKcmyk(2.4%, 4.7%, 0%, 0.4%)
CIE-LABlab(96.25, 4.12, -5.04)
CIE-LCHlch(96.25, 6.52, 309.27°)
OKLaboklab(96.92% 0.0106 -0.0134)
OKLCHoklch(96.92% 0.017 308.2)
XYZxyz(88.3499, 90.6166, 106.5830)
Luminance0.9062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F2FE #F8FEF2
analogous
#F2F2FE #F8F2FE #FEF2FE
triadic
#F8F2FE #FEF8F2 #F2FEF8
tetradic
#F8F2FE #FEF2F2 #F8FEF2 #F2FEFE
square
#F8F2FE #FEF2F2 #F8FEF2 #F2FEFE
split-complementary
#F8F2FE #FEFEF2 #F2FEF2
monochromatic
#BB80F5 #D9B9FA #F0E3FD #F0E3FD #F0E3FD

Accessibility & contrast

On white

1.10
#F8F2FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.12
#F8F2FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F2FE
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F2FE#FFFFFF#000000##000000
##F8F2FE1.001.1019.1219.12
#FFFFFF1.101.0021.0021.00
#00000019.1221.001.001.00
##00000019.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0F4FF
Deuteranopia (green-blind)
#F1F4FE
Tritanopia (blue-blind)
#F7F3F6
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f8f2fe;
/* rgb */ color: rgb(248, 242, 254);
/* oklch */ color: oklch(96.9% 0.017 308.2);
Tailwind
colors: {
  custom: {
    50: '#faf6fe',
    500: '#f8f2fe',
    950: '#000000',
  },
}
SCSS
$custom: #f8f2fe;
$custom-light: #faf6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f2fe",
  "rgb": {
    "r": 248,
    "g": 242,
    "b": 254
  },
  "hsl": {
    "h": 270,
    "s": 85.714,
    "l": 97.255
  },
  "oklch": {
    "l": 0.96923,
    "c": 0.01707,
    "h": 308.2
  },
  "luminance": 0.90616
}

Semantic roles & 50–950 ramp

primary
#F8F2FE
secondary
#CAEAAA
accent
#E20373
background
#FFFFFF
surface
#FFFEFF
border
#D7D6D7
text
#171717
muted
#858585

Preview Lab

Preview with #F8F2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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