#F5ECFB#F5ECFB

#F5ECFB is a very light, muted violet. Relative luminance 0.864; OKLCH L 95.4% C 0.022 H 312.2°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#F5ECFB
RGBrgb(245, 236, 251)
HSLhsl(276, 65%, 95%)
HSVhsv(276, 6%, 98%)
CMYKcmyk(2.4%, 6%, 0%, 1.6%)
CIE-LABlab(94.47, 5.68, -6.14)
CIE-LCHlch(94.47, 8.36, 312.73°)
OKLaboklab(95.45% 0.0148 -0.0163)
OKLCHoklch(95.45% 0.022 312.2)
XYZxyz(85.0613, 86.3687, 103.4377)
Luminance0.8637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5ECFB #F2FBEC
analogous
#EDECFB #F5ECFB #FBECF9
triadic
#F5ECFB #FBF5EC #ECFBF5
tetradic
#F5ECFB #FBEDEC #F2FBEC #ECF9FB
square
#F5ECFB #FBEDEC #F2FBEC #ECF9FB
split-complementary
#F5ECFB #F9FBEC #ECFBED
monochromatic
#C087E6 #DAB9F0 #F2E6FA #F2E6FA #F2E6FA

Accessibility & contrast

On white

1.15
#F5ECFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.27
#F5ECFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5ECFB
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5ECFB#FFFFFF#000000##000000
##F5ECFB1.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAEFFC
Deuteranopia (green-blind)
#ECEFFA
Tritanopia (blue-blind)
#F5EEF1
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f5ecfb;
/* rgb */ color: rgb(245, 236, 251);
/* oklch */ color: oklch(95.4% 0.022 312.2);
Tailwind
colors: {
  custom: {
    50: '#f8f2fc',
    500: '#f5ecfb',
    950: '#000000',
  },
}
SCSS
$custom: #f5ecfb;
$custom-light: #f8f2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ecfb",
  "rgb": {
    "r": 245,
    "g": 236,
    "b": 251
  },
  "hsl": {
    "h": 276,
    "s": 65.217,
    "l": 95.49
  },
  "oklch": {
    "l": 0.95445,
    "c": 0.02205,
    "h": 312.2
  },
  "luminance": 0.86368
}

Semantic roles & 50–950 ramp

primary
#F5ECFB
secondary
#C0E0AB
accent
#CD1861
background
#FFFFFF
surface
#FFFEFF
border
#D7D6D7
text
#171617
muted
#858585

Preview Lab

Preview with #F5ECFB

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

Preview Lab → · Contrast checker → · Palette generator →

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