#F8F0FF#F8F0FF

#F8F0FF is a very light, muted violet. Relative luminance 0.895; OKLCH L 96.6% C 0.022 H 309.6°. Best body text is #000000 at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#F8F0FF
RGBrgb(248, 240, 255)
HSLhsl(272, 100%, 97%)
HSVhsv(272, 6%, 100%)
CMYKcmyk(2.7%, 5.9%, 0%, 0%)
CIE-LABlab(95.79, 5.33, -6.25)
CIE-LCHlch(95.79, 8.21, 310.48°)
OKLaboklab(96.57% 0.0137 -0.0166)
OKLCHoklch(96.57% 0.022 309.6)
XYZxyz(87.9184, 89.4968, 107.2313)
Luminance0.8950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F0FF #F7FFF0
analogous
#F1F0FF #F8F0FF #FFF0FF
triadic
#F8F0FF #FFF8F0 #F0FFF8
tetradic
#F8F0FF #FFF1F0 #F7FFF0 #F0FFFF
square
#F8F0FF #FFF1F0 #F7FFF0 #F0FFFF
split-complementary
#F8F0FF #FFFFF0 #F0FFF1
monochromatic
#BF76FF #DBB3FF #F1E0FF #F1E0FF #F1E0FF

Accessibility & contrast

On white

1.11
#F8F0FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.90
#F8F0FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F0FF
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F0FF#FFFFFF#000000##000000
##F8F0FF1.001.1118.9018.90
#FFFFFF1.111.0021.0021.00
#00000018.9021.001.001.00
##00000018.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEF2FF
Deuteranopia (green-blind)
#EFF3FE
Tritanopia (blue-blind)
#F7F2F5
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f8f0ff;
/* rgb */ color: rgb(248, 240, 255);
/* oklch */ color: oklch(96.6% 0.022 309.6);
Tailwind
colors: {
  custom: {
    50: '#faf4ff',
    500: '#f8f0ff',
    950: '#000000',
  },
}
SCSS
$custom: #f8f0ff;
$custom-light: #faf4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f0ff",
  "rgb": {
    "r": 248,
    "g": 240,
    "b": 255
  },
  "hsl": {
    "h": 272,
    "s": 100,
    "l": 97.059
  },
  "oklch": {
    "l": 0.96568,
    "c": 0.02156,
    "h": 309.6
  },
  "luminance": 0.89497
}

Semantic roles & 50–950 ramp

primary
#F8F0FF
secondary
#C7EFA4
accent
#E6006B
background
#FFFFFF
surface
#FFFEFF
border
#D7D6D7
text
#171718
muted
#858586

Preview Lab

Preview with #F8F0FF

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

Preview Lab → · Contrast checker → · Palette generator →

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