#F5F2FC#F5F2FC

#F5F2FC is a very light, near-neutral violet. Relative luminance 0.899; OKLCH L 96.6% C 0.014 H 299.8°. Best body text is #000000 at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#F5F2FC
RGBrgb(245, 242, 252)
HSLhsl(258, 63%, 97%)
HSVhsv(258, 4%, 99%)
CMYKcmyk(2.8%, 4%, 0%, 1.2%)
CIE-LABlab(95.97, 2.78, -4.44)
CIE-LCHlch(95.97, 5.24, 302.03°)
OKLaboklab(96.63% 0.0068 -0.0118)
OKLCHoklch(96.63% 0.014 299.8)
XYZxyz(86.9760, 89.9450, 104.8556)
Luminance0.8994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F2FC #F9FCF2
analogous
#F2F4FC #F5F2FC #FAF2FC
triadic
#F5F2FC #FCF5F2 #F2FCF5
tetradic
#F5F2FC #FCF2F4 #F9FCF2 #F2FCFA
square
#F5F2FC #FCF2F4 #F9FCF2 #F2FCFA
split-complementary
#F5F2FC #FCFAF2 #F4FCF2
monochromatic
#A98FE5 #CFC0F1 #ECE6F9 #ECE6F9 #ECE6F9

Accessibility & contrast

On white

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

On black

18.99
#F5F2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F2FC
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F2FC#FFFFFF#000000##000000
##F5F2FC1.001.1118.9918.99
#FFFFFF1.111.0021.0021.00
#00000018.9921.001.001.00
##00000018.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0F3FC
Deuteranopia (green-blind)
#F1F3FC
Tritanopia (blue-blind)
#F4F3F5
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f5f2fc;
/* rgb */ color: rgb(245, 242, 252);
/* oklch */ color: oklch(96.6% 0.014 299.8);
Tailwind
colors: {
  custom: {
    50: '#f8f6fd',
    500: '#f5f2fc',
    950: '#000000',
  },
}
SCSS
$custom: #f5f2fc;
$custom-light: #f8f6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f2fc",
  "rgb": {
    "r": 245,
    "g": 242,
    "b": 252
  },
  "hsl": {
    "h": 258,
    "s": 62.5,
    "l": 96.863
  },
  "oklch": {
    "l": 0.96632,
    "c": 0.01362,
    "h": 299.8
  },
  "luminance": 0.89945
}

Semantic roles & 50–950 ramp

primary
#F5F2FC
secondary
#D3E1B2
accent
#CA1B96
background
#FFFFFF
surface
#FFFEFF
border
#D7D6D7
text
#171717
muted
#858585

Preview Lab

Preview with #F5F2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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