#F8F2FC#F8F2FC

#F8F2FC is a very light, near-neutral violet. Relative luminance 0.905; OKLCH L 96.9% C 0.015 H 312.3°. Best body text is #000000 at 19.10:1 contrast (WCAG AA passes).

Color values

HEX#F8F2FC
RGBrgb(248, 242, 252)
HSLhsl(276, 63%, 97%)
HSVhsv(276, 4%, 99%)
CMYKcmyk(1.6%, 4%, 0%, 1.2%)
CIE-LABlab(96.20, 3.76, -4.09)
CIE-LCHlch(96.20, 5.56, 312.65°)
OKLaboklab(96.86% 0.0099 -0.0108)
OKLCHoklch(96.86% 0.015 312.3)
XYZxyz(88.0313, 90.4892, 104.9051)
Luminance0.9049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F2FC #F6FCF2
analogous
#F3F2FC #F8F2FC #FCF2FB
triadic
#F8F2FC #FCF8F2 #F2FCF8
tetradic
#F8F2FC #FCF3F2 #F6FCF2 #F2FBFC
square
#F8F2FC #FCF3F2 #F6FCF2 #F2FBFC
split-complementary
#F8F2FC #FBFCF2 #F2FCF3
monochromatic
#C28FE5 #DDC0F1 #F2E6F9 #F2E6F9 #F2E6F9

Accessibility & contrast

On white

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

On black

19.10
#F8F2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F2FC
19.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F2FC#FFFFFF#000000##000000
##F8F2FC1.001.1019.1019.10
#FFFFFF1.101.0021.0021.00
#00000019.1021.001.001.00
##00000019.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1F4FC
Deuteranopia (green-blind)
#F2F4FC
Tritanopia (blue-blind)
#F8F3F5
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f8f2fc;
/* rgb */ color: rgb(248, 242, 252);
/* oklch */ color: oklch(96.9% 0.015 312.3);
Tailwind
colors: {
  custom: {
    50: '#faf6fd',
    500: '#f8f2fc',
    950: '#000000',
  },
}
SCSS
$custom: #f8f2fc;
$custom-light: #faf6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f2fc",
  "rgb": {
    "r": 248,
    "g": 242,
    "b": 252
  },
  "hsl": {
    "h": 276,
    "s": 62.5,
    "l": 96.863
  },
  "oklch": {
    "l": 0.96864,
    "c": 0.01465,
    "h": 312.3
  },
  "luminance": 0.90489
}

Semantic roles & 50–950 ramp

primary
#F8F2FC
secondary
#C4E1B2
accent
#CA1B61
background
#FFFFFF
surface
#FFFEFF
border
#D7D6D7
text
#171717
muted
#858585

Preview Lab

Preview with #F8F2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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