#F0ECFB#F0ECFB

#F0ECFB is a very light, muted violet. Relative luminance 0.855; OKLCH L 95.1% C 0.020 H 298.2°. Best body text is #000000 at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#F0ECFB
RGBrgb(240, 236, 251)
HSLhsl(256, 65%, 95%)
HSVhsv(256, 6%, 98%)
CMYKcmyk(4.4%, 6%, 0%, 1.6%)
CIE-LABlab(94.09, 4.04, -6.75)
CIE-LCHlch(94.09, 7.86, 300.91°)
OKLaboklab(95.06% 0.0097 -0.018)
OKLCHoklch(95.06% 0.02 298.2)
XYZxyz(83.3401, 85.4811, 103.3570)
Luminance0.8548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0ECFB #F7FBEC
analogous
#ECEFFB #F0ECFB #F7ECFB
triadic
#F0ECFB #FBF0EC #ECFBF0
tetradic
#F0ECFB #FBECEF #F7FBEC #ECFBF7
square
#F0ECFB #FBECEF #F7FBEC #ECFBF7
split-complementary
#F0ECFB #FBF7EC #EFFBEC
monochromatic
#A087E6 #C8B9F0 #EBE6FA #EBE6FA #EBE6FA

Accessibility & contrast

On white

1.16
#F0ECFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.10
#F0ECFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0ECFB
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0ECFB#FFFFFF#000000##000000
##F0ECFB1.001.1618.1018.10
#FFFFFF1.161.0021.0021.00
#00000018.1021.001.001.00
##00000018.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9EEFC
Deuteranopia (green-blind)
#EAEEFB
Tritanopia (blue-blind)
#EEEEF1
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f0ecfb;
/* rgb */ color: rgb(240, 236, 251);
/* oklch */ color: oklch(95.1% 0.020 298.2);
Tailwind
colors: {
  custom: {
    50: '#f5f2fc',
    500: '#f0ecfb',
    950: '#000000',
  },
}
SCSS
$custom: #f0ecfb;
$custom-light: #f5f2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ecfb",
  "rgb": {
    "r": 240,
    "g": 236,
    "b": 251
  },
  "hsl": {
    "h": 256,
    "s": 65.217,
    "l": 95.49
  },
  "oklch": {
    "l": 0.95055,
    "c": 0.02042,
    "h": 298.2
  },
  "luminance": 0.85481
}

Semantic roles & 50–950 ramp

primary
#F0ECFB
secondary
#D2E0AB
accent
#CD189D
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#171617
muted
#858585

Preview Lab

Preview with #F0ECFB

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

Preview Lab → · Contrast checker → · Palette generator →

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