#F5F2FF#F5F2FF

#F5F2FF is a very light, near-neutral violet. Relative luminance 0.901; OKLCH L 96.7% C 0.018 H 296.6°. Best body text is #000000 at 19.03:1 contrast (WCAG AA passes).

Color values

HEX#F5F2FF
RGBrgb(245, 242, 255)
HSLhsl(254, 100%, 97%)
HSVhsv(254, 5%, 100%)
CMYKcmyk(3.9%, 5.1%, 0%, 0%)
CIE-LABlab(96.05, 3.33, -5.88)
CIE-LCHlch(96.05, 6.76, 299.51°)
OKLaboklab(96.72% 0.0079 -0.0157)
OKLCHoklch(96.72% 0.018 296.6)
XYZxyz(87.4551, 90.1367, 107.3791)
Luminance0.9014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F2FF #FCFFF2
analogous
#F2F6FF #F5F2FF #FBF2FF
triadic
#F5F2FF #FFF5F2 #F2FFF5
tetradic
#F5F2FF #FFF2F6 #FCFFF2 #F2FFFB
square
#F5F2FF #FFF2F6 #FCFFF2 #F2FFFB
split-complementary
#F5F2FF #FFFBF2 #F6FFF2
monochromatic
#9778FF #C6B5FF #E7E0FF #E7E0FF #E7E0FF

Accessibility & contrast

On white

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

On black

19.03
#F5F2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F2FF
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F2FF#FFFFFF#000000##000000
##F5F2FF1.001.1019.0319.03
#FFFFFF1.101.0021.0021.00
#00000019.0321.001.001.00
##00000019.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5f2ff;
/* rgb */ color: rgb(245, 242, 255);
/* oklch */ color: oklch(96.7% 0.018 296.6);
Tailwind
colors: {
  custom: {
    50: '#f8f6ff',
    500: '#f5f2ff',
    950: '#000000',
  },
}
SCSS
$custom: #f5f2ff;
$custom-light: #f8f6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f2ff",
  "rgb": {
    "r": 245,
    "g": 242,
    "b": 255
  },
  "hsl": {
    "h": 253.846,
    "s": 100,
    "l": 97.451
  },
  "oklch": {
    "l": 0.96721,
    "c": 0.01753,
    "h": 296.6
  },
  "luminance": 0.90137
}

Semantic roles & 50–950 ramp

primary
#F5F2FF
secondary
#DEEFA6
accent
#E600B1
background
#FFFFFF
surface
#FFFEFF
border
#D7D6D7
text
#171718
muted
#858586

Preview Lab

Preview with #F5F2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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