#F5F2FA#F5F2FA

#F5F2FA is a very light, near-neutral violet. Relative luminance 0.898; OKLCH L 96.6% C 0.011 H 303.1°. Best body text is #000000 at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#F5F2FA
RGBrgb(245, 242, 250)
HSLhsl(263, 44%, 96%)
HSVhsv(263, 3%, 98%)
CMYKcmyk(2%, 3.2%, 0%, 2%)
CIE-LABlab(95.92, 2.42, -3.49)
CIE-LCHlch(95.92, 4.24, 304.75°)
OKLaboklab(96.57% 0.006 -0.0093)
OKLCHoklch(96.57% 0.011 303.1)
XYZxyz(86.6607, 89.8189, 103.1952)
Luminance0.8982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F2FA #F7FAF2
analogous
#F2F3FA #F5F2FA #F9F2FA
triadic
#F5F2FA #FAF5F2 #F2FAF5
tetradic
#F5F2FA #FAF2F3 #F7FAF2 #F2FAF9
square
#F5F2FA #FAF2F3 #F7FAF2 #F2FAF9
split-complementary
#F5F2FA #FAF9F2 #F3FAF2
monochromatic
#B19AD8 #D3C6E9 #EEE9F6 #EEE9F6 #EEE9F6

Accessibility & contrast

On white

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

On black

18.96
#F5F2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F2FA
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F2FA#FFFFFF#000000##000000
##F5F2FA1.001.1118.9618.96
#FFFFFF1.111.0021.0021.00
#00000018.9621.001.001.00
##00000018.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1F3FA
Deuteranopia (green-blind)
#F1F3FA
Tritanopia (blue-blind)
#F4F3F4
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f5f2fa;
/* rgb */ color: rgb(245, 242, 250);
/* oklch */ color: oklch(96.6% 0.011 303.1);
Tailwind
colors: {
  custom: {
    50: '#f8f6fc',
    500: '#f5f2fa',
    950: '#000000',
  },
}
SCSS
$custom: #f5f2fa;
$custom-light: #f8f6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f2fa",
  "rgb": {
    "r": 245,
    "g": 242,
    "b": 250
  },
  "hsl": {
    "h": 262.5,
    "s": 44.444,
    "l": 96.471
  },
  "oklch": {
    "l": 0.96574,
    "c": 0.01106,
    "h": 303.1
  },
  "luminance": 0.89819
}

Semantic roles & 50–950 ramp

primary
#F5F2FA
secondary
#CCD9B7
accent
#B82E84
background
#FFFFFF
surface
#FFFEFF
border
#D7D6D7
text
#171717
muted
#858585

Preview Lab

Preview with #F5F2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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