#F5E2FF#F5E2FF

#F5E2FF is a very light, muted violet. Relative luminance 0.810; OKLCH L 93.7% C 0.044 H 314.2°. Best body text is #000000 at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#F5E2FF
RGBrgb(245, 226, 255)
HSLhsl(279, 100%, 94%)
HSVhsv(279, 11%, 100%)
CMYKcmyk(3.9%, 11.4%, 0%, 0%)
CIE-LABlab(92.14, 11.59, -11.68)
CIE-LCHlch(92.14, 16.45, 314.78°)
OKLaboklab(93.67% 0.0304 -0.0312)
OKLCHoklch(93.67% 0.044 314.2)
XYZxyz(82.8996, 81.0257, 105.8606)
Luminance0.8103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E2FF #ECFFE2
analogous
#E7E2FF #F5E2FF #FFE2FB
triadic
#F5E2FF #FFF5E2 #E2FFF5
tetradic
#F5E2FF #FFE7E2 #ECFFE2 #E2FBFF
square
#F5E2FF #FFE7E2 #ECFFE2 #E2FBFF
split-complementary
#F5E2FF #FBFFE2 #E2FFE7
monochromatic
#CB68FF #E0A5FF #F4E0FF #F4E0FF #F4E0FF

Accessibility & contrast

On white

1.22
#F5E2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.21
#F5E2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E2FF
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E2FF#FFFFFF#000000##000000
##F5E2FF1.001.2217.2117.21
#FFFFFF1.221.0021.0021.00
#00000017.2121.001.001.00
##00000017.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFE7FF
Deuteranopia (green-blind)
#E2E9FE
Tritanopia (blue-blind)
#F5E5EB
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f5e2ff;
/* rgb */ color: rgb(245, 226, 255);
/* oklch */ color: oklch(93.7% 0.044 314.2);
Tailwind
colors: {
  custom: {
    50: '#f8ebff',
    500: '#f5e2ff',
    950: '#000000',
  },
}
SCSS
$custom: #f5e2ff;
$custom-light: #f8ebff;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e2ff",
  "rgb": {
    "r": 245,
    "g": 226,
    "b": 255
  },
  "hsl": {
    "h": 279.31,
    "s": 100,
    "l": 94.314
  },
  "oklch": {
    "l": 0.93666,
    "c": 0.04356,
    "h": 314.2
  },
  "luminance": 0.81025
}

Semantic roles & 50–950 ramp

primary
#F5E2FF
secondary
#B5ED98
accent
#E6004F
background
#FFFEFF
surface
#FFFDFF
border
#D7D5D7
text
#171618
muted
#858486

Preview Lab

Preview with #F5E2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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