#F8F2FF#F8F2FF

#F8F2FF is a very light, near-neutral violet. Relative luminance 0.907; OKLCH L 97.0% C 0.018 H 306.7°. Best body text is #000000 at 19.14:1 contrast (WCAG AA passes).

Color values

HEX#F8F2FF
RGBrgb(248, 242, 255)
HSLhsl(268, 100%, 97%)
HSVhsv(268, 5%, 100%)
CMYKcmyk(2.7%, 5.1%, 0%, 0%)
CIE-LABlab(96.28, 4.31, -5.52)
CIE-LCHlch(96.28, 7.00, 307.95°)
OKLaboklab(96.95% 0.0109 -0.0147)
OKLCHoklch(96.95% 0.018 306.7)
XYZxyz(88.5105, 90.6808, 107.4286)
Luminance0.9068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F2FF #F9FFF2
analogous
#F2F3FF #F8F2FF #FEF2FF
triadic
#F8F2FF #FFF8F2 #F2FFF8
tetradic
#F8F2FF #FFF2F3 #F9FFF2 #F2FFFE
square
#F8F2FF #FFF2F3 #F9FFF2 #F2FFFE
split-complementary
#F8F2FF #FFFEF2 #F3FFF2
monochromatic
#B678FF #D7B5FF #EFE0FF #EFE0FF #EFE0FF

Accessibility & contrast

On white

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

On black

19.14
#F8F2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F2FF
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F2FF#FFFFFF#000000##000000
##F8F2FF1.001.1019.1419.14
#FFFFFF1.101.0021.0021.00
#00000019.1421.001.001.00
##00000019.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8f2ff;
/* rgb */ color: rgb(248, 242, 255);
/* oklch */ color: oklch(97.0% 0.018 306.7);
Tailwind
colors: {
  custom: {
    50: '#faf6ff',
    500: '#f8f2ff',
    950: '#000000',
  },
}
SCSS
$custom: #f8f2ff;
$custom-light: #faf6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f2ff",
  "rgb": {
    "r": 248,
    "g": 242,
    "b": 255
  },
  "hsl": {
    "h": 267.692,
    "s": 100,
    "l": 97.451
  },
  "oklch": {
    "l": 0.96952,
    "c": 0.01832,
    "h": 306.7
  },
  "luminance": 0.90681
}

Semantic roles & 50–950 ramp

primary
#F8F2FF
secondary
#CDEFA6
accent
#E6007C
background
#FFFFFF
surface
#FFFEFF
border
#D7D6D7
text
#171718
muted
#858586

Preview Lab

Preview with #F8F2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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